| @@ -5517,27 +5517,27 @@ BUILDLINK_API_DEPENDS.foo+= foo>=1. | | | @@ -5517,27 +5517,27 @@ BUILDLINK_API_DEPENDS.foo+= foo>=1. |
5517 | to install the <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/devel/ncurses/README.html" target="_top"><code class="filename">devel/ncurses</code></a> package.</p></li> | | 5517 | to install the <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/devel/ncurses/README.html" target="_top"><code class="filename">devel/ncurses</code></a> package.</p></li> |
5518 | <li class="listitem"><p><code class="filename">krb5.buildlink3.mk</code> uses the value | | 5518 | <li class="listitem"><p><code class="filename">krb5.buildlink3.mk</code> uses the value |
5519 | of <code class="varname">KRB5_ACCEPTED</code> to choose between | | 5519 | of <code class="varname">KRB5_ACCEPTED</code> to choose between |
5520 | adding a dependency on Heimdal or MIT-krb5 for packages that | | 5520 | adding a dependency on Heimdal or MIT-krb5 for packages that |
5521 | require a Kerberos 5 implementation.</p></li> | | 5521 | require a Kerberos 5 implementation.</p></li> |
5522 | <li class="listitem"><p><code class="filename">motif.buildlink3.mk</code> checks for a | | 5522 | <li class="listitem"><p><code class="filename">motif.buildlink3.mk</code> checks for a |
5523 | system-provided Motif installation or adds a dependency on | | 5523 | system-provided Motif installation or adds a dependency on |
5524 | <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/x11/lesstif/README.html" target="_top"><code class="filename">x11/lesstif</code></a>, <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/x11/motif/README.html" target="_top"><code class="filename">x11/motif</code></a> or <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/x11/openmotif/README.html" target="_top"><code class="filename">x11/openmotif</code></a>. The user can set | | 5524 | <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/x11/lesstif/README.html" target="_top"><code class="filename">x11/lesstif</code></a>, <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/x11/motif/README.html" target="_top"><code class="filename">x11/motif</code></a> or <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/x11/openmotif/README.html" target="_top"><code class="filename">x11/openmotif</code></a>. The user can set |
5525 | <code class="varname">MOTIF_TYPE</code> to <span class="quote">“<span class="quote">dt</span>”</span>, | | 5525 | <code class="varname">MOTIF_TYPE</code> to <span class="quote">“<span class="quote">dt</span>”</span>, |
5526 | <span class="quote">“<span class="quote">lesstif</span>”</span>, <span class="quote">“<span class="quote">motif</span>”</span> or | | 5526 | <span class="quote">“<span class="quote">lesstif</span>”</span>, <span class="quote">“<span class="quote">motif</span>”</span> or |
5527 | <span class="quote">“<span class="quote">openmotif</span>”</span> to choose | | 5527 | <span class="quote">“<span class="quote">openmotif</span>”</span> to choose |
5528 | which Motif version will be used.</p></li> | | 5528 | which Motif version will be used.</p></li> |
5529 | <li class="listitem"><p><code class="filename">readline.buildlink3.mk</code> checks for a | | 5529 | <li class="listitem"><p><code class="filename">readline.buildlink3.mk</code> checks for a |
5530 | system-provided GNU readline or ediline (libedit) installation, | | 5530 | system-provided GNU readline or editline (libedit) installation, |
5531 | or adds a dependency on <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/devel/readline/README.html" target="_top"><code class="filename">devel/readline</code></a>, | | 5531 | or adds a dependency on <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/devel/readline/README.html" target="_top"><code class="filename">devel/readline</code></a>, |
5532 | <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/devel/editline/README.html" target="_top"><code class="filename">devel/editline</code></a>. The user can set | | 5532 | <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/devel/editline/README.html" target="_top"><code class="filename">devel/editline</code></a>. The user can set |
5533 | <code class="varname">READLINE_DEFAULT</code> to choose readline implementation. | | 5533 | <code class="varname">READLINE_DEFAULT</code> to choose readline implementation. |
5534 | If your package really needs GNU readline library, its Makefile | | 5534 | If your package really needs GNU readline library, its Makefile |
5535 | should include <code class="filename">devel/readline/buildlink3.mk</code> | | 5535 | should include <code class="filename">devel/readline/buildlink3.mk</code> |
5536 | instead of <code class="filename">readline.buildlink3.mk</code>.</p></li> | | 5536 | instead of <code class="filename">readline.buildlink3.mk</code>.</p></li> |
5537 | <li class="listitem"><p><code class="filename">oss.buildlink3.mk</code> defines several | | 5537 | <li class="listitem"><p><code class="filename">oss.buildlink3.mk</code> defines several |
5538 | variables that may be used by packages that use the | | 5538 | variables that may be used by packages that use the |
5539 | Open Sound System (OSS) API.</p></li> | | 5539 | Open Sound System (OSS) API.</p></li> |
5540 | <li class="listitem"><p><code class="filename">pgsql.buildlink3.mk</code> will accept | | 5540 | <li class="listitem"><p><code class="filename">pgsql.buildlink3.mk</code> will accept |
5541 | any of the Postgres versions in the variable | | 5541 | any of the Postgres versions in the variable |
5542 | <code class="varname">PGSQL_VERSIONS_ACCEPTED</code> and default to | | 5542 | <code class="varname">PGSQL_VERSIONS_ACCEPTED</code> and default to |
5543 | the version <code class="varname">PGSQL_VERSION_DEFAULT</code>. See | | 5543 | the version <code class="varname">PGSQL_VERSION_DEFAULT</code>. See |
| @@ -7656,67 +7656,67 @@ the name of the common tools. For exampl | | | @@ -7656,67 +7656,67 @@ the name of the common tools. For exampl |
7656 | .if exists(/usr/bin/bzcat) | | 7656 | .if exists(/usr/bin/bzcat) |
7657 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat | | 7657 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat |
7658 | .elif exists(/usr/bin/bzip2) | | 7658 | .elif exists(/usr/bin/bzip2) |
7659 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzip2 -cd | | 7659 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzip2 -cd |
7660 | .endif | | 7660 | .endif |
7661 | | | 7661 | |
7662 | TOOLS_PLATFORM.true?= true # shell builtin | | 7662 | TOOLS_PLATFORM.true?= true # shell builtin |
7663 | </pre> | | 7663 | </pre> |
7664 | </div> | | 7664 | </div> |
7665 | <div class="sect1"> | | 7665 | <div class="sect1"> |
7666 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> | | 7666 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> |
7667 | <a name="tools.questions"></a>18.4. Questions regarding the tools</h2></div></div></div> | | 7667 | <a name="tools.questions"></a>18.4. Questions regarding the tools</h2></div></div></div> |
7668 | <div class="qandaset"> | | 7668 | <div class="qandaset"> |
7669 | <a name="idm77762608"></a><dl> | | 7669 | <a name="idm76234800"></a><dl> |
7670 | <dt>18.4.1. <a href="#tools.new">How do I add a new tool?</a> | | 7670 | <dt>18.4.1. <a href="#tools.new">How do I add a new tool?</a> |
7671 | </dt> | | 7671 | </dt> |
7672 | <dt>18.4.2. <a href="#tools.listall">How do I get a list of all available | | 7672 | <dt>18.4.2. <a href="#tools.listall">How do I get a list of all available |
7673 | tools?</a> | | 7673 | tools?</a> |
7674 | </dt> | | 7674 | </dt> |
7675 | <dt>18.4.3. <a href="#tools.used">How can I get a list of all the tools that a | | 7675 | <dt>18.4.3. <a href="#tools.used">How can I get a list of all the tools that a |
7676 | package is using while being built? I want to know whether it | | 7676 | package is using while being built? I want to know whether it |
7677 | uses sed or not.</a> | | 7677 | uses sed or not.</a> |
7678 | </dt> | | 7678 | </dt> |
7679 | </dl> | | 7679 | </dl> |
7680 | <table border="0" style="width: 100%;"> | | 7680 | <table border="0" style="width: 100%;"> |
7681 | <colgroup> | | 7681 | <colgroup> |
7682 | <col align="left" width="1%"> | | 7682 | <col align="left" width="1%"> |
7683 | <col> | | 7683 | <col> |
7684 | </colgroup> | | 7684 | </colgroup> |
7685 | <tbody> | | 7685 | <tbody> |
7686 | <tr class="question"> | | 7686 | <tr class="question"> |
7687 | <td align="left" valign="top"> | | 7687 | <td align="left" valign="top"> |
7688 | <a name="tools.new"></a><a name="idm77762224"></a><p><b>18.4.1.</b></p> | | 7688 | <a name="tools.new"></a><a name="idm76234416"></a><p><b>18.4.1.</b></p> |
7689 | </td> | | 7689 | </td> |
7690 | <td align="left" valign="top"><p>How do I add a new tool?</p></td> | | 7690 | <td align="left" valign="top"><p>How do I add a new tool?</p></td> |
7691 | </tr> | | 7691 | </tr> |
7692 | <tr class="answer"> | | 7692 | <tr class="answer"> |
7693 | <td align="left" valign="top"></td> | | 7693 | <td align="left" valign="top"></td> |
7694 | <td align="left" valign="top"><p>TODO</p></td> | | 7694 | <td align="left" valign="top"><p>TODO</p></td> |
7695 | </tr> | | 7695 | </tr> |
7696 | <tr class="question"> | | 7696 | <tr class="question"> |
7697 | <td align="left" valign="top"> | | 7697 | <td align="left" valign="top"> |
7698 | <a name="tools.listall"></a><a name="idm77761072"></a><p><b>18.4.2.</b></p> | | 7698 | <a name="tools.listall"></a><a name="idm76233264"></a><p><b>18.4.2.</b></p> |
7699 | </td> | | 7699 | </td> |
7700 | <td align="left" valign="top"><p>How do I get a list of all available | | 7700 | <td align="left" valign="top"><p>How do I get a list of all available |
7701 | tools?</p></td> | | 7701 | tools?</p></td> |
7702 | </tr> | | 7702 | </tr> |
7703 | <tr class="answer"> | | 7703 | <tr class="answer"> |
7704 | <td align="left" valign="top"></td> | | 7704 | <td align="left" valign="top"></td> |
7705 | <td align="left" valign="top"><p>TODO</p></td> | | 7705 | <td align="left" valign="top"><p>TODO</p></td> |
7706 | </tr> | | 7706 | </tr> |
7707 | <tr class="question"> | | 7707 | <tr class="question"> |
7708 | <td align="left" valign="top"> | | 7708 | <td align="left" valign="top"> |
7709 | <a name="tools.used"></a><a name="idm77760048"></a><p><b>18.4.3.</b></p> | | 7709 | <a name="tools.used"></a><a name="idm76232240"></a><p><b>18.4.3.</b></p> |
7710 | </td> | | 7710 | </td> |
7711 | <td align="left" valign="top"><p>How can I get a list of all the tools that a | | 7711 | <td align="left" valign="top"><p>How can I get a list of all the tools that a |
7712 | package is using while being built? I want to know whether it | | 7712 | package is using while being built? I want to know whether it |
7713 | uses sed or not.</p></td> | | 7713 | uses sed or not.</p></td> |
7714 | </tr> | | 7714 | </tr> |
7715 | <tr class="answer"> | | 7715 | <tr class="answer"> |
7716 | <td align="left" valign="top"></td> | | 7716 | <td align="left" valign="top"></td> |
7717 | <td align="left" valign="top"><p>Currently, you can't. (TODO: But I want to be able | | 7717 | <td align="left" valign="top"><p>Currently, you can't. (TODO: But I want to be able |
7718 | to do it.)</p></td> | | 7718 | to do it.)</p></td> |
7719 | </tr> | | 7719 | </tr> |
7720 | </tbody> | | 7720 | </tbody> |
7721 | </table> | | 7721 | </table> |
7722 | </div> | | 7722 | </div> |
| @@ -9759,27 +9759,27 @@ place. | | | @@ -9759,27 +9759,27 @@ place. |
9759 | </li> | | 9759 | </li> |
9760 | </ol></div> | | 9760 | </ol></div> |
9761 | </div> | | 9761 | </div> |
9762 | </div> | | 9762 | </div> |
9763 | <div class="chapter"> | | 9763 | <div class="chapter"> |
9764 | <div class="titlepage"><div><div><h2 class="title"> | | 9764 | <div class="titlepage"><div><div><h2 class="title"> |
9765 | <a name="devfaq"></a>Chapter 22. Frequently Asked Questions</h2></div></div></div> | | 9765 | <a name="devfaq"></a>Chapter 22. Frequently Asked Questions</h2></div></div></div> |
9766 | <p>This section contains the answers to questions that may | | 9766 | <p>This section contains the answers to questions that may |
9767 | arise when you are writing a package. If you don't find your | | 9767 | arise when you are writing a package. If you don't find your |
9768 | question answered here, first have a look in the other chapters, | | 9768 | question answered here, first have a look in the other chapters, |
9769 | and if you still don't have the answer, ask on the | | 9769 | and if you still don't have the answer, ask on the |
9770 | <code class="literal">pkgsrc-users</code> mailing list.</p> | | 9770 | <code class="literal">pkgsrc-users</code> mailing list.</p> |
9771 | <div class="qandaset"> | | 9771 | <div class="qandaset"> |
9772 | <a name="idm77207344"></a><dl> | | 9772 | <a name="idm77764400"></a><dl> |
9773 | <dt>22.1. <a href="#devfaq.makeflags">What is the difference between | | 9773 | <dt>22.1. <a href="#devfaq.makeflags">What is the difference between |
9774 | MAKEFLAGS, .MAKEFLAGS and | | 9774 | MAKEFLAGS, .MAKEFLAGS and |
9775 | MAKE_FLAGS?</a> | | 9775 | MAKE_FLAGS?</a> |
9776 | </dt> | | 9776 | </dt> |
9777 | <dt>22.2. <a href="#devfaq.make">What is the difference between | | 9777 | <dt>22.2. <a href="#devfaq.make">What is the difference between |
9778 | MAKE, GMAKE and | | 9778 | MAKE, GMAKE and |
9779 | MAKE_PROGRAM?</a> | | 9779 | MAKE_PROGRAM?</a> |
9780 | </dt> | | 9780 | </dt> |
9781 | <dt>22.3. <a href="#devfaq.cc">What is the difference between | | 9781 | <dt>22.3. <a href="#devfaq.cc">What is the difference between |
9782 | CC, PKG_CC and | | 9782 | CC, PKG_CC and |
9783 | PKGSRC_COMPILER?</a> | | 9783 | PKGSRC_COMPILER?</a> |
9784 | </dt> | | 9784 | </dt> |
9785 | <dt>22.4. <a href="#devfaq.bl3flags">What is the difference between | | 9785 | <dt>22.4. <a href="#devfaq.bl3flags">What is the difference between |
| @@ -9804,157 +9804,157 @@ place. | | | @@ -9804,157 +9804,157 @@ place. |
9804 | </dt> | | 9804 | </dt> |
9805 | <dt>22.9. <a href="#devfaq.too-much-time">I have a little time to kill. What shall I | | 9805 | <dt>22.9. <a href="#devfaq.too-much-time">I have a little time to kill. What shall I |
9806 | do?</a> | | 9806 | do?</a> |
9807 | </dt> | | 9807 | </dt> |
9808 | </dl> | | 9808 | </dl> |
9809 | <table border="0" style="width: 100%;"> | | 9809 | <table border="0" style="width: 100%;"> |
9810 | <colgroup> | | 9810 | <colgroup> |
9811 | <col align="left" width="1%"> | | 9811 | <col align="left" width="1%"> |
9812 | <col> | | 9812 | <col> |
9813 | </colgroup> | | 9813 | </colgroup> |
9814 | <tbody> | | 9814 | <tbody> |
9815 | <tr class="question"> | | 9815 | <tr class="question"> |
9816 | <td align="left" valign="top"> | | 9816 | <td align="left" valign="top"> |
9817 | <a name="devfaq.makeflags"></a><a name="idm77206960"></a><p><b>22.1.</b></p> | | 9817 | <a name="devfaq.makeflags"></a><a name="idm77764016"></a><p><b>22.1.</b></p> |
9818 | </td> | | 9818 | </td> |
9819 | <td align="left" valign="top"><p>What is the difference between | | 9819 | <td align="left" valign="top"><p>What is the difference between |
9820 | <code class="varname">MAKEFLAGS</code>, <code class="varname">.MAKEFLAGS</code> and | | 9820 | <code class="varname">MAKEFLAGS</code>, <code class="varname">.MAKEFLAGS</code> and |
9821 | <code class="varname">MAKE_FLAGS</code>?</p></td> | | 9821 | <code class="varname">MAKE_FLAGS</code>?</p></td> |
9822 | </tr> | | 9822 | </tr> |
9823 | <tr class="answer"> | | 9823 | <tr class="answer"> |
9824 | <td align="left" valign="top"></td> | | 9824 | <td align="left" valign="top"></td> |
9825 | <td align="left" valign="top"><p><code class="varname">MAKEFLAGS</code> are the flags passed | | 9825 | <td align="left" valign="top"><p><code class="varname">MAKEFLAGS</code> are the flags passed |
9826 | to the pkgsrc-internal invocations of <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a>, while | | 9826 | to the pkgsrc-internal invocations of <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a>, while |
9827 | <code class="varname">MAKE_FLAGS</code> are the flags that are passed to | | 9827 | <code class="varname">MAKE_FLAGS</code> are the flags that are passed to |
9828 | the <code class="varname">MAKE_PROGRAM</code> when building the | | 9828 | the <code class="varname">MAKE_PROGRAM</code> when building the |
9829 | package. [FIXME: What is .MAKEFLAGS for?]</p></td> | | 9829 | package. [FIXME: What is .MAKEFLAGS for?]</p></td> |
9830 | </tr> | | 9830 | </tr> |
9831 | <tr class="question"> | | 9831 | <tr class="question"> |
9832 | <td align="left" valign="top"> | | 9832 | <td align="left" valign="top"> |
9833 | <a name="devfaq.make"></a><a name="idm77202864"></a><p><b>22.2.</b></p> | | 9833 | <a name="devfaq.make"></a><a name="idm77759920"></a><p><b>22.2.</b></p> |
9834 | </td> | | 9834 | </td> |
9835 | <td align="left" valign="top"><p>What is the difference between | | 9835 | <td align="left" valign="top"><p>What is the difference between |
9836 | <code class="varname">MAKE</code>, <code class="varname">GMAKE</code> and | | 9836 | <code class="varname">MAKE</code>, <code class="varname">GMAKE</code> and |
9837 | <code class="varname">MAKE_PROGRAM</code>?</p></td> | | 9837 | <code class="varname">MAKE_PROGRAM</code>?</p></td> |
9838 | </tr> | | 9838 | </tr> |
9839 | <tr class="answer"> | | 9839 | <tr class="answer"> |
9840 | <td align="left" valign="top"></td> | | 9840 | <td align="left" valign="top"></td> |
9841 | <td align="left" valign="top"><p><code class="varname">MAKE</code> is the path to the | | 9841 | <td align="left" valign="top"><p><code class="varname">MAKE</code> is the path to the |
9842 | <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a> program that is used in the pkgsrc | | 9842 | <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a> program that is used in the pkgsrc |
9843 | infrastructure. <code class="varname">GMAKE</code> is the path to GNU | | 9843 | infrastructure. <code class="varname">GMAKE</code> is the path to GNU |
9844 | Make, but you need to say <code class="varname">USE_TOOLS+=gmake</code> to | | 9844 | Make, but you need to say <code class="varname">USE_TOOLS+=gmake</code> to |
9845 | use that. <code class="varname">MAKE_PROGRAM</code> is the path to the | | 9845 | use that. <code class="varname">MAKE_PROGRAM</code> is the path to the |
9846 | Make program that is used for building the | | 9846 | Make program that is used for building the |
9847 | package.</p></td> | | 9847 | package.</p></td> |
9848 | </tr> | | 9848 | </tr> |
9849 | <tr class="question"> | | 9849 | <tr class="question"> |
9850 | <td align="left" valign="top"> | | 9850 | <td align="left" valign="top"> |
9851 | <a name="devfaq.cc"></a><a name="idm77198512"></a><p><b>22.3.</b></p> | | 9851 | <a name="devfaq.cc"></a><a name="idm77755568"></a><p><b>22.3.</b></p> |
9852 | </td> | | 9852 | </td> |
9853 | <td align="left" valign="top"><p>What is the difference between | | 9853 | <td align="left" valign="top"><p>What is the difference between |
9854 | <code class="varname">CC</code>, <code class="varname">PKG_CC</code> and | | 9854 | <code class="varname">CC</code>, <code class="varname">PKG_CC</code> and |
9855 | <code class="varname">PKGSRC_COMPILER</code>?</p></td> | | 9855 | <code class="varname">PKGSRC_COMPILER</code>?</p></td> |
9856 | </tr> | | 9856 | </tr> |
9857 | <tr class="answer"> | | 9857 | <tr class="answer"> |
9858 | <td align="left" valign="top"></td> | | 9858 | <td align="left" valign="top"></td> |
9859 | <td align="left" valign="top"><p><code class="varname">CC</code> is the path to the real C | | 9859 | <td align="left" valign="top"><p><code class="varname">CC</code> is the path to the real C |
9860 | compiler, which can be configured by the pkgsrc user. | | 9860 | compiler, which can be configured by the pkgsrc user. |
9861 | <code class="varname">PKG_CC</code> is the path to the compiler wrapper. | | 9861 | <code class="varname">PKG_CC</code> is the path to the compiler wrapper. |
9862 | <code class="varname">PKGSRC_COMPILER</code> is <span class="emphasis"><em>not</em></span> a | | 9862 | <code class="varname">PKGSRC_COMPILER</code> is <span class="emphasis"><em>not</em></span> a |
9863 | path to a compiler, but the type of compiler that should be | | 9863 | path to a compiler, but the type of compiler that should be |
9864 | used. See <code class="filename">mk/compiler.mk</code> for more | | 9864 | used. See <code class="filename">mk/compiler.mk</code> for more |
9865 | information about the latter variable.</p></td> | | 9865 | information about the latter variable.</p></td> |
9866 | </tr> | | 9866 | </tr> |
9867 | <tr class="question"> | | 9867 | <tr class="question"> |
9868 | <td align="left" valign="top"> | | 9868 | <td align="left" valign="top"> |
9869 | <a name="devfaq.bl3flags"></a><a name="idm77194288"></a><p><b>22.4.</b></p> | | 9869 | <a name="devfaq.bl3flags"></a><a name="idm77751344"></a><p><b>22.4.</b></p> |
9870 | </td> | | 9870 | </td> |
9871 | <td align="left" valign="top"><p>What is the difference between | | 9871 | <td align="left" valign="top"><p>What is the difference between |
9872 | <code class="varname">BUILDLINK_LDFLAGS</code>, | | 9872 | <code class="varname">BUILDLINK_LDFLAGS</code>, |
9873 | <code class="varname">BUILDLINK_LDADD</code> and | | 9873 | <code class="varname">BUILDLINK_LDADD</code> and |
9874 | <code class="varname">BUILDLINK_LIBS</code>?</p></td> | | 9874 | <code class="varname">BUILDLINK_LIBS</code>?</p></td> |
9875 | </tr> | | 9875 | </tr> |
9876 | <tr class="answer"> | | 9876 | <tr class="answer"> |
9877 | <td align="left" valign="top"></td> | | 9877 | <td align="left" valign="top"></td> |
9878 | <td align="left" valign="top"><p>[FIXME]</p></td> | | 9878 | <td align="left" valign="top"><p>[FIXME]</p></td> |
9879 | </tr> | | 9879 | </tr> |
9880 | <tr class="question"> | | 9880 | <tr class="question"> |
9881 | <td align="left" valign="top"> | | 9881 | <td align="left" valign="top"> |
9882 | <a name="devfaq.bl3prefix"></a><a name="idm77192112"></a><p><b>22.5.</b></p> | | 9882 | <a name="devfaq.bl3prefix"></a><a name="idm77749168"></a><p><b>22.5.</b></p> |
9883 | </td> | | 9883 | </td> |
9884 | <td align="left" valign="top"><p>Why does <span class="command"><strong>make show-var | | 9884 | <td align="left" valign="top"><p>Why does <span class="command"><strong>make show-var |
9885 | VARNAME=BUILDLINK_PREFIX.<em class="replaceable"><code>foo</code></em></strong></span> | | 9885 | VARNAME=BUILDLINK_PREFIX.<em class="replaceable"><code>foo</code></em></strong></span> |
9886 | say it's empty?</p></td> | | 9886 | say it's empty?</p></td> |
9887 | </tr> | | 9887 | </tr> |
9888 | <tr class="answer"> | | 9888 | <tr class="answer"> |
9889 | <td align="left" valign="top"></td> | | 9889 | <td align="left" valign="top"></td> |
9890 | <td align="left" valign="top"><p>For optimization reasons, some variables are only | | 9890 | <td align="left" valign="top"><p>For optimization reasons, some variables are only |
9891 | available in the <span class="quote">“<span class="quote">wrapper</span>”</span> phase and later. To | | 9891 | available in the <span class="quote">“<span class="quote">wrapper</span>”</span> phase and later. To |
9892 | <span class="quote">“<span class="quote">simulate</span>”</span> the wrapper phase, append | | 9892 | <span class="quote">“<span class="quote">simulate</span>”</span> the wrapper phase, append |
9893 | <span class="command"><strong>PKG_PHASE=wrapper</strong></span> to the above | | 9893 | <span class="command"><strong>PKG_PHASE=wrapper</strong></span> to the above |
9894 | command.</p></td> | | 9894 | command.</p></td> |
9895 | </tr> | | 9895 | </tr> |
9896 | <tr class="question"> | | 9896 | <tr class="question"> |
9897 | <td align="left" valign="top"> | | 9897 | <td align="left" valign="top"> |
9898 | <a name="devfaq.master_sites"></a><a name="idm77189040"></a><p><b>22.6.</b></p> | | 9898 | <a name="devfaq.master_sites"></a><a name="idm77746096"></a><p><b>22.6.</b></p> |
9899 | </td> | | 9899 | </td> |
9900 | <td align="left" valign="top"><p>What does | | 9900 | <td align="left" valign="top"><p>What does |
9901 | <code class="literal">${MASTER_SITE_SOURCEFORGE:=package/}</code> mean? I | | 9901 | <code class="literal">${MASTER_SITE_SOURCEFORGE:=package/}</code> mean? I |
9902 | don't understand the <code class="literal">:=</code> inside | | 9902 | don't understand the <code class="literal">:=</code> inside |
9903 | it.</p></td> | | 9903 | it.</p></td> |
9904 | </tr> | | 9904 | </tr> |
9905 | <tr class="answer"> | | 9905 | <tr class="answer"> |
9906 | <td align="left" valign="top"></td> | | 9906 | <td align="left" valign="top"></td> |
9907 | <td align="left" valign="top"><p>The <code class="literal">:=</code> is not really an | | 9907 | <td align="left" valign="top"><p>The <code class="literal">:=</code> is not really an |
9908 | assignment operator, like you might expect at first sight. | | 9908 | assignment operator, like you might expect at first sight. |
9909 | Instead, it is a degenerate form of | | 9909 | Instead, it is a degenerate form of |
9910 | <code class="literal">${LIST:<em class="replaceable"><code>old_string</code></em>=<em class="replaceable"><code>new_string</code></em>}</code>, | | 9910 | <code class="literal">${LIST:<em class="replaceable"><code>old_string</code></em>=<em class="replaceable"><code>new_string</code></em>}</code>, |
9911 | which is documented in the <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a> man page and which you | | 9911 | which is documented in the <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?make+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">make</span>(1)</span></a> man page and which you |
9912 | may have seen as in <code class="literal">${SRCS:.c=.o}</code>. In the | | 9912 | may have seen as in <code class="literal">${SRCS:.c=.o}</code>. In the |
9913 | case of <code class="varname">MASTER_SITE_*</code>, | | 9913 | case of <code class="varname">MASTER_SITE_*</code>, |
9914 | <em class="replaceable"><code>old_string</code></em> is the empty string and | | 9914 | <em class="replaceable"><code>old_string</code></em> is the empty string and |
9915 | <em class="replaceable"><code>new_string</code></em> is | | 9915 | <em class="replaceable"><code>new_string</code></em> is |
9916 | <code class="literal">package/</code>. That's where the | | 9916 | <code class="literal">package/</code>. That's where the |
9917 | <code class="literal">:</code> and the <code class="literal">=</code> fall | | 9917 | <code class="literal">:</code> and the <code class="literal">=</code> fall |
9918 | together.</p></td> | | 9918 | together.</p></td> |
9919 | </tr> | | 9919 | </tr> |
9920 | <tr class="question"> | | 9920 | <tr class="question"> |
9921 | <td align="left" valign="top"> | | 9921 | <td align="left" valign="top"> |
9922 | <a name="devfaq.mailinglists"></a><a name="idm77172784"></a><p><b>22.7.</b></p> | | 9922 | <a name="devfaq.mailinglists"></a><a name="idm77738032"></a><p><b>22.7.</b></p> |
9923 | </td> | | 9923 | </td> |
9924 | <td align="left" valign="top"><p>Which mailing lists are there for package | | 9924 | <td align="left" valign="top"><p>Which mailing lists are there for package |
9925 | developers?</p></td> | | 9925 | developers?</p></td> |
9926 | </tr> | | 9926 | </tr> |
9927 | <tr class="answer"> | | 9927 | <tr class="answer"> |
9928 | <td align="left" valign="top"></td> | | 9928 | <td align="left" valign="top"></td> |
9929 | <td align="left" valign="top"><div class="variablelist"><dl class="variablelist"> | | 9929 | <td align="left" valign="top"><div class="variablelist"><dl class="variablelist"> |
9930 | <dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#tech-pkg" target="_top">tech-pkg</a></span></dt> | | 9930 | <dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#tech-pkg" target="_top">tech-pkg</a></span></dt> |
9931 | <dd><p>This is a list for technical discussions related | | 9931 | <dd><p>This is a list for technical discussions related |
9932 | to pkgsrc development, e.g. soliciting feedback for changes to | | 9932 | to pkgsrc development, e.g. soliciting feedback for changes to |
9933 | pkgsrc infrastructure, proposed new features, questions related | | 9933 | pkgsrc infrastructure, proposed new features, questions related |
9934 | to porting pkgsrc to a new platform, advice for maintaining a | | 9934 | to porting pkgsrc to a new platform, advice for maintaining a |
9935 | package, patches that affect many packages, help requests moved | | 9935 | package, patches that affect many packages, help requests moved |
9936 | from pkgsrc-users when an infrastructure bug is found, | | 9936 | from pkgsrc-users when an infrastructure bug is found, |
9937 | etc.</p></dd> | | 9937 | etc.</p></dd> |
9938 | <dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#pkgsrc-bugs" target="_top">pkgsrc-bugs</a></span></dt> | | 9938 | <dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#pkgsrc-bugs" target="_top">pkgsrc-bugs</a></span></dt> |
9939 | <dd><p>All bug reports in category "pkg" sent with | | 9939 | <dd><p>All bug reports in category "pkg" sent with |
9940 | <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?send-pr+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">send-pr</span>(1)</span></a> appear here. Please do not report your bugs here | | 9940 | <a class="citerefentry" href="http://netbsd.gw.com/cgi-bin/man-cgi?send-pr+1+NetBSD-5.0.1+i386"><span class="citerefentry"><span class="refentrytitle">send-pr</span>(1)</span></a> appear here. Please do not report your bugs here |
9941 | directly; use one of the other mailing | | 9941 | directly; use one of the other mailing |
9942 | lists.</p></dd> | | 9942 | lists.</p></dd> |
9943 | </dl></div></td> | | 9943 | </dl></div></td> |
9944 | </tr> | | 9944 | </tr> |
9945 | <tr class="question"> | | 9945 | <tr class="question"> |
9946 | <td align="left" valign="top"> | | 9946 | <td align="left" valign="top"> |
9947 | <a name="devfaq.documentation"></a><a name="idm77168944"></a><p><b>22.8.</b></p> | | 9947 | <a name="devfaq.documentation"></a><a name="idm77734192"></a><p><b>22.8.</b></p> |
9948 | </td> | | 9948 | </td> |
9949 | <td align="left" valign="top"><p>Where is the pkgsrc | | 9949 | <td align="left" valign="top"><p>Where is the pkgsrc |
9950 | documentation?</p></td> | | 9950 | documentation?</p></td> |
9951 | </tr> | | 9951 | </tr> |
9952 | <tr class="answer"> | | 9952 | <tr class="answer"> |
9953 | <td align="left" valign="top"></td> | | 9953 | <td align="left" valign="top"></td> |
9954 | <td align="left" valign="top"> | | 9954 | <td align="left" valign="top"> |
9955 | <p>There are many places where you can find | | 9955 | <p>There are many places where you can find |
9956 | documentation about pkgsrc:</p> | | 9956 | documentation about pkgsrc:</p> |
9957 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> | | 9957 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> |
9958 | <li class="listitem"><p>The pkgsrc guide (this document) is a collection | | 9958 | <li class="listitem"><p>The pkgsrc guide (this document) is a collection |
9959 | of chapters that explain large parts of pkgsrc, but some | | 9959 | of chapters that explain large parts of pkgsrc, but some |
9960 | chapters tend to be outdated. Which ones they are is hard to | | 9960 | chapters tend to be outdated. Which ones they are is hard to |
| @@ -9982,27 +9982,27 @@ do? | | | @@ -9982,27 +9982,27 @@ do? |
9982 | documented</span>”</span>, that is the documentation exists only in the | | 9982 | documented</span>”</span>, that is the documentation exists only in the |
9983 | mind of the developer who wrote the code. To get this | | 9983 | mind of the developer who wrote the code. To get this |
9984 | information, use the <span class="command"><strong>cvs annotate</strong></span> command | | 9984 | information, use the <span class="command"><strong>cvs annotate</strong></span> command |
9985 | to see who has written it and ask on the | | 9985 | to see who has written it and ask on the |
9986 | <code class="literal">tech-pkg</code> mailing list, so that others can | | 9986 | <code class="literal">tech-pkg</code> mailing list, so that others can |
9987 | find your questions later (see above). To be sure that the | | 9987 | find your questions later (see above). To be sure that the |
9988 | developer in charge reads the mail, you may CC him or | | 9988 | developer in charge reads the mail, you may CC him or |
9989 | her.</p></li> | | 9989 | her.</p></li> |
9990 | </ul></div> | | 9990 | </ul></div> |
9991 | </td> | | 9991 | </td> |
9992 | </tr> | | 9992 | </tr> |
9993 | <tr class="question"> | | 9993 | <tr class="question"> |
9994 | <td align="left" valign="top"> | | 9994 | <td align="left" valign="top"> |
9995 | <a name="devfaq.too-much-time"></a><a name="idm77162416"></a><p><b>22.9.</b></p> | | 9995 | <a name="devfaq.too-much-time"></a><a name="idm77727664"></a><p><b>22.9.</b></p> |
9996 | </td> | | 9996 | </td> |
9997 | <td align="left" valign="top"><p>I have a little time to kill. What shall I | | 9997 | <td align="left" valign="top"><p>I have a little time to kill. What shall I |
9998 | do?</p></td> | | 9998 | do?</p></td> |
9999 | </tr> | | 9999 | </tr> |
10000 | <tr class="answer"> | | 10000 | <tr class="answer"> |
10001 | <td align="left" valign="top"></td> | | 10001 | <td align="left" valign="top"></td> |
10002 | <td align="left" valign="top"> | | 10002 | <td align="left" valign="top"> |
10003 | <p>This is not really an FAQ yet, but here's the answer | | 10003 | <p>This is not really an FAQ yet, but here's the answer |
10004 | anyway.</p> | | 10004 | anyway.</p> |
10005 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> | | 10005 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> |
10006 | <li class="listitem"><p>Run <span class="command"><strong>pkg_chk -N</strong></span> (from the | | 10006 | <li class="listitem"><p>Run <span class="command"><strong>pkg_chk -N</strong></span> (from the |
10007 | <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/pkgtools/pkg_chk/README.html" target="_top"><code class="filename">pkgtools/pkg_chk</code></a> package). It | | 10007 | <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/pkgtools/pkg_chk/README.html" target="_top"><code class="filename">pkgtools/pkg_chk</code></a> package). It |
10008 | will tell you about newer versions of installed packages that are | | 10008 | will tell you about newer versions of installed packages that are |