| @@ -688,27 +688,27 @@ minutes! | | | @@ -688,27 +688,27 @@ minutes! |
688 | <tr> | | 688 | <tr> |
689 | <td><a class="ulink" href="http://cygwin.com/" target="_top">Cygwin</a></td> | | 689 | <td><a class="ulink" href="http://cygwin.com/" target="_top">Cygwin</a></td> |
690 | <td align="center">Mar 2013</td> | | 690 | <td align="center">Mar 2013</td> |
691 | <td><a class="ulink" href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/bootstrap/README.Cygwin" target="_top">README.Cygwin</a></td> | | 691 | <td><a class="ulink" href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/bootstrap/README.Cygwin" target="_top">README.Cygwin</a></td> |
692 | </tr> | | 692 | </tr> |
693 | <tr> | | 693 | <tr> |
694 | <td><a class="ulink" href="http://www.debian.org/ports/kfreebsd-gnu/" target="_top">GNU/kFreeBSD</a></td> | | 694 | <td><a class="ulink" href="http://www.debian.org/ports/kfreebsd-gnu/" target="_top">GNU/kFreeBSD</a></td> |
695 | <td align="center">Jul 2013</td> | | 695 | <td align="center">Jul 2013</td> |
696 | <td><a class="ulink" href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/bootstrap/README.GNUkFreeBSD" target="_top">README.GNUkFreeBSD</a></td> | | 696 | <td><a class="ulink" href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/bootstrap/README.GNUkFreeBSD" target="_top">README.GNUkFreeBSD</a></td> |
697 | </tr> | | 697 | </tr> |
698 | <tr> | | 698 | <tr> |
699 | <td><a class="ulink" href="http://www.bitrig.org/" target="_top">Bitrig</a></td> | | 699 | <td><a class="ulink" href="http://www.bitrig.org/" target="_top">Bitrig</a></td> |
700 | <td align="center">Jun 2014</td> | | 700 | <td align="center">Jun 2014</td> |
701 | <td><a class="ulink" href="http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/bootstrap/README.Bitrig" target="_top">README.Bitrig</a></td> | | 701 | <td><a class="ulink" href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/bootstrap/README.Bitrig" target="_top">README.Bitrig</a></td> |
702 | </tr> | | 702 | </tr> |
703 | </tbody> | | 703 | </tbody> |
704 | </table></div> | | 704 | </table></div> |
705 | </div> | | 705 | </div> |
706 | <br class="table-break"> | | 706 | <br class="table-break"> |
707 | </div> | | 707 | </div> |
708 | </div> | | 708 | </div> |
709 | <div class="sect1"> | | 709 | <div class="sect1"> |
710 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> | | 710 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> |
711 | <a name="overview"></a>1.2. Overview</h2></div></div></div> | | 711 | <a name="overview"></a>1.2. Overview</h2></div></div></div> |
712 | <p>This document is divided into three parts. The first, | | 712 | <p>This document is divided into three parts. The first, |
713 | <a class="link" href="#users-guide" title="Part I. The pkgsrc user's guide">The pkgsrc user's guide</a>, | | 713 | <a class="link" href="#users-guide" title="Part I. The pkgsrc user's guide">The pkgsrc user's guide</a>, |
714 | describes how one can use one of the packages in the Package | | 714 | describes how one can use one of the packages in the Package |
| @@ -7379,67 +7379,67 @@ the name of the common tools. For exampl | | | @@ -7379,67 +7379,67 @@ the name of the common tools. For exampl |
7379 | .if exists(/usr/bin/bzcat) | | 7379 | .if exists(/usr/bin/bzcat) |
7380 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat | | 7380 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat |
7381 | .elif exists(/usr/bin/bzip2) | | 7381 | .elif exists(/usr/bin/bzip2) |
7382 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzip2 -cd | | 7382 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzip2 -cd |
7383 | .endif | | 7383 | .endif |
7384 | | | 7384 | |
7385 | TOOLS_PLATFORM.true?= true # shell builtin | | 7385 | TOOLS_PLATFORM.true?= true # shell builtin |
7386 | </pre> | | 7386 | </pre> |
7387 | </div> | | 7387 | </div> |
7388 | <div class="sect1"> | | 7388 | <div class="sect1"> |
7389 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> | | 7389 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> |
7390 | <a name="tools.questions"></a>18.4. Questions regarding the tools</h2></div></div></div> | | 7390 | <a name="tools.questions"></a>18.4. Questions regarding the tools</h2></div></div></div> |
7391 | <div class="qandaset"> | | 7391 | <div class="qandaset"> |
7392 | <a name="idp2098800788"></a><dl> | | 7392 | <a name="idp2133919204"></a><dl> |
7393 | <dt>18.4.1. <a href="#tools.new">How do I add a new tool?</a> | | 7393 | <dt>18.4.1. <a href="#tools.new">How do I add a new tool?</a> |
7394 | </dt> | | 7394 | </dt> |
7395 | <dt>18.4.2. <a href="#tools.listall">How do I get a list of all available | | 7395 | <dt>18.4.2. <a href="#tools.listall">How do I get a list of all available |
7396 | tools?</a> | | 7396 | tools?</a> |
7397 | </dt> | | 7397 | </dt> |
7398 | <dt>18.4.3. <a href="#tools.used">How can I get a list of all the tools that a | | 7398 | <dt>18.4.3. <a href="#tools.used">How can I get a list of all the tools that a |
7399 | package is using while being built? I want to know whether it | | 7399 | package is using while being built? I want to know whether it |
7400 | uses sed or not.</a> | | 7400 | uses sed or not.</a> |
7401 | </dt> | | 7401 | </dt> |
7402 | </dl> | | 7402 | </dl> |
7403 | <table border="0" style="width: 100%;"> | | 7403 | <table border="0" style="width: 100%;"> |
7404 | <colgroup> | | 7404 | <colgroup> |
7405 | <col align="left" width="1%"> | | 7405 | <col align="left" width="1%"> |
7406 | <col> | | 7406 | <col> |
7407 | </colgroup> | | 7407 | </colgroup> |
7408 | <tbody> | | 7408 | <tbody> |
7409 | <tr class="question"> | | 7409 | <tr class="question"> |
7410 | <td align="left" valign="top"> | | 7410 | <td align="left" valign="top"> |
7411 | <a name="tools.new"></a><a name="idp2098801124"></a><p><b>18.4.1.</b></p> | | 7411 | <a name="tools.new"></a><a name="idp2133919540"></a><p><b>18.4.1.</b></p> |
7412 | </td> | | 7412 | </td> |
7413 | <td align="left" valign="top"><p>How do I add a new tool?</p></td> | | 7413 | <td align="left" valign="top"><p>How do I add a new tool?</p></td> |
7414 | </tr> | | 7414 | </tr> |
7415 | <tr class="answer"> | | 7415 | <tr class="answer"> |
7416 | <td align="left" valign="top"></td> | | 7416 | <td align="left" valign="top"></td> |
7417 | <td align="left" valign="top"><p>TODO</p></td> | | 7417 | <td align="left" valign="top"><p>TODO</p></td> |
7418 | </tr> | | 7418 | </tr> |
7419 | <tr class="question"> | | 7419 | <tr class="question"> |
7420 | <td align="left" valign="top"> | | 7420 | <td align="left" valign="top"> |
7421 | <a name="tools.listall"></a><a name="idp2098801796"></a><p><b>18.4.2.</b></p> | | 7421 | <a name="tools.listall"></a><a name="idp2133920276"></a><p><b>18.4.2.</b></p> |
7422 | </td> | | 7422 | </td> |
7423 | <td align="left" valign="top"><p>How do I get a list of all available | | 7423 | <td align="left" valign="top"><p>How do I get a list of all available |
7424 | tools?</p></td> | | 7424 | tools?</p></td> |
7425 | </tr> | | 7425 | </tr> |
7426 | <tr class="answer"> | | 7426 | <tr class="answer"> |
7427 | <td align="left" valign="top"></td> | | 7427 | <td align="left" valign="top"></td> |
7428 | <td align="left" valign="top"><p>TODO</p></td> | | 7428 | <td align="left" valign="top"><p>TODO</p></td> |
7429 | </tr> | | 7429 | </tr> |
7430 | <tr class="question"> | | 7430 | <tr class="question"> |
7431 | <td align="left" valign="top"> | | 7431 | <td align="left" valign="top"> |
7432 | <a name="tools.used"></a><a name="idp2098802548"></a><p><b>18.4.3.</b></p> | | 7432 | <a name="tools.used"></a><a name="idp2133920964"></a><p><b>18.4.3.</b></p> |
7433 | </td> | | 7433 | </td> |
7434 | <td align="left" valign="top"><p>How can I get a list of all the tools that a | | 7434 | <td align="left" valign="top"><p>How can I get a list of all the tools that a |
7435 | package is using while being built? I want to know whether it | | 7435 | package is using while being built? I want to know whether it |
7436 | uses sed or not.</p></td> | | 7436 | uses sed or not.</p></td> |
7437 | </tr> | | 7437 | </tr> |
7438 | <tr class="answer"> | | 7438 | <tr class="answer"> |
7439 | <td align="left" valign="top"></td> | | 7439 | <td align="left" valign="top"></td> |
7440 | <td align="left" valign="top"><p>Currently, you can't. (TODO: But I want to be able | | 7440 | <td align="left" valign="top"><p>Currently, you can't. (TODO: But I want to be able |
7441 | to do it.)</p></td> | | 7441 | to do it.)</p></td> |
7442 | </tr> | | 7442 | </tr> |
7443 | </tbody> | | 7443 | </tbody> |
7444 | </table> | | 7444 | </table> |
7445 | </div> | | 7445 | </div> |
| @@ -9567,27 +9567,27 @@ place. | | | @@ -9567,27 +9567,27 @@ place. |
9567 | </li> | | 9567 | </li> |
9568 | </ol></div> | | 9568 | </ol></div> |
9569 | </div> | | 9569 | </div> |
9570 | </div> | | 9570 | </div> |
9571 | <div class="chapter"> | | 9571 | <div class="chapter"> |
9572 | <div class="titlepage"><div><div><h2 class="title"> | | 9572 | <div class="titlepage"><div><div><h2 class="title"> |
9573 | <a name="devfaq"></a>Chapter 22. Frequently Asked Questions</h2></div></div></div> | | 9573 | <a name="devfaq"></a>Chapter 22. Frequently Asked Questions</h2></div></div></div> |
9574 | <p>This section contains the answers to questions that may | | 9574 | <p>This section contains the answers to questions that may |
9575 | arise when you are writing a package. If you don't find your | | 9575 | arise when you are writing a package. If you don't find your |
9576 | question answered here, first have a look in the other chapters, | | 9576 | question answered here, first have a look in the other chapters, |
9577 | and if you still don't have the answer, ask on the | | 9577 | and if you still don't have the answer, ask on the |
9578 | <code class="literal">pkgsrc-users</code> mailing list.</p> | | 9578 | <code class="literal">pkgsrc-users</code> mailing list.</p> |
9579 | <div class="qandaset"> | | 9579 | <div class="qandaset"> |
9580 | <a name="idp2096502980"></a><dl> | | 9580 | <a name="idp2134262308"></a><dl> |
9581 | <dt>22.1. <a href="#devfaq.makeflags">What is the difference between | | 9581 | <dt>22.1. <a href="#devfaq.makeflags">What is the difference between |
9582 | MAKEFLAGS, .MAKEFLAGS and | | 9582 | MAKEFLAGS, .MAKEFLAGS and |
9583 | MAKE_FLAGS?</a> | | 9583 | MAKE_FLAGS?</a> |
9584 | </dt> | | 9584 | </dt> |
9585 | <dt>22.2. <a href="#devfaq.make">What is the difference between | | 9585 | <dt>22.2. <a href="#devfaq.make">What is the difference between |
9586 | MAKE, GMAKE and | | 9586 | MAKE, GMAKE and |
9587 | MAKE_PROGRAM?</a> | | 9587 | MAKE_PROGRAM?</a> |
9588 | </dt> | | 9588 | </dt> |
9589 | <dt>22.3. <a href="#devfaq.cc">What is the difference between | | 9589 | <dt>22.3. <a href="#devfaq.cc">What is the difference between |
9590 | CC, PKG_CC and | | 9590 | CC, PKG_CC and |
9591 | PKGSRC_COMPILER?</a> | | 9591 | PKGSRC_COMPILER?</a> |
9592 | </dt> | | 9592 | </dt> |
9593 | <dt>22.4. <a href="#devfaq.bl3flags">What is the difference between | | 9593 | <dt>22.4. <a href="#devfaq.bl3flags">What is the difference between |
| @@ -9612,157 +9612,157 @@ place. | | | @@ -9612,157 +9612,157 @@ place. |
9612 | </dt> | | 9612 | </dt> |
9613 | <dt>22.9. <a href="#devfaq.too-much-time">I have a little time to kill. What shall I | | 9613 | <dt>22.9. <a href="#devfaq.too-much-time">I have a little time to kill. What shall I |
9614 | do?</a> | | 9614 | do?</a> |
9615 | </dt> | | 9615 | </dt> |
9616 | </dl> | | 9616 | </dl> |
9617 | <table border="0" style="width: 100%;"> | | 9617 | <table border="0" style="width: 100%;"> |
9618 | <colgroup> | | 9618 | <colgroup> |
9619 | <col align="left" width="1%"> | | 9619 | <col align="left" width="1%"> |
9620 | <col> | | 9620 | <col> |
9621 | </colgroup> | | 9621 | </colgroup> |
9622 | <tbody> | | 9622 | <tbody> |
9623 | <tr class="question"> | | 9623 | <tr class="question"> |
9624 | <td align="left" valign="top"> | | 9624 | <td align="left" valign="top"> |
9625 | <a name="devfaq.makeflags"></a><a name="idp2096504004"></a><p><b>22.1.</b></p> | | 9625 | <a name="devfaq.makeflags"></a><a name="idp2134261236"></a><p><b>22.1.</b></p> |
9626 | </td> | | 9626 | </td> |
9627 | <td align="left" valign="top"><p>What is the difference between | | 9627 | <td align="left" valign="top"><p>What is the difference between |
9628 | <code class="varname">MAKEFLAGS</code>, <code class="varname">.MAKEFLAGS</code> and | | 9628 | <code class="varname">MAKEFLAGS</code>, <code class="varname">.MAKEFLAGS</code> and |
9629 | <code class="varname">MAKE_FLAGS</code>?</p></td> | | 9629 | <code class="varname">MAKE_FLAGS</code>?</p></td> |
9630 | </tr> | | 9630 | </tr> |
9631 | <tr class="answer"> | | 9631 | <tr class="answer"> |
9632 | <td align="left" valign="top"></td> | | 9632 | <td align="left" valign="top"></td> |
9633 | <td align="left" valign="top"><p><code class="varname">MAKEFLAGS</code> are the flags passed | | 9633 | <td align="left" valign="top"><p><code class="varname">MAKEFLAGS</code> are the flags passed |
9634 | 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 | | 9634 | 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 |
9635 | <code class="varname">MAKE_FLAGS</code> are the flags that are passed to | | 9635 | <code class="varname">MAKE_FLAGS</code> are the flags that are passed to |
9636 | the <code class="varname">MAKE_PROGRAM</code> when building the | | 9636 | the <code class="varname">MAKE_PROGRAM</code> when building the |
9637 | package. [FIXME: What is .MAKEFLAGS for?]</p></td> | | 9637 | package. [FIXME: What is .MAKEFLAGS for?]</p></td> |
9638 | </tr> | | 9638 | </tr> |
9639 | <tr class="question"> | | 9639 | <tr class="question"> |
9640 | <td align="left" valign="top"> | | 9640 | <td align="left" valign="top"> |
9641 | <a name="devfaq.make"></a><a name="idp2096500212"></a><p><b>22.2.</b></p> | | 9641 | <a name="devfaq.make"></a><a name="idp2134265108"></a><p><b>22.2.</b></p> |
9642 | </td> | | 9642 | </td> |
9643 | <td align="left" valign="top"><p>What is the difference between | | 9643 | <td align="left" valign="top"><p>What is the difference between |
9644 | <code class="varname">MAKE</code>, <code class="varname">GMAKE</code> and | | 9644 | <code class="varname">MAKE</code>, <code class="varname">GMAKE</code> and |
9645 | <code class="varname">MAKE_PROGRAM</code>?</p></td> | | 9645 | <code class="varname">MAKE_PROGRAM</code>?</p></td> |
9646 | </tr> | | 9646 | </tr> |
9647 | <tr class="answer"> | | 9647 | <tr class="answer"> |
9648 | <td align="left" valign="top"></td> | | 9648 | <td align="left" valign="top"></td> |
9649 | <td align="left" valign="top"><p><code class="varname">MAKE</code> is the path to the | | 9649 | <td align="left" valign="top"><p><code class="varname">MAKE</code> is the path to the |
9650 | <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 | | 9650 | <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 |
9651 | infrastructure. <code class="varname">GMAKE</code> is the path to GNU | | 9651 | infrastructure. <code class="varname">GMAKE</code> is the path to GNU |
9652 | Make, but you need to say <code class="varname">USE_TOOLS+=gmake</code> to | | 9652 | Make, but you need to say <code class="varname">USE_TOOLS+=gmake</code> to |
9653 | use that. <code class="varname">MAKE_PROGRAM</code> is the path to the | | 9653 | use that. <code class="varname">MAKE_PROGRAM</code> is the path to the |
9654 | Make program that is used for building the | | 9654 | Make program that is used for building the |
9655 | package.</p></td> | | 9655 | package.</p></td> |
9656 | </tr> | | 9656 | </tr> |
9657 | <tr class="question"> | | 9657 | <tr class="question"> |
9658 | <td align="left" valign="top"> | | 9658 | <td align="left" valign="top"> |
9659 | <a name="devfaq.cc"></a><a name="idp2096497444"></a><p><b>22.3.</b></p> | | 9659 | <a name="devfaq.cc"></a><a name="idp2134267908"></a><p><b>22.3.</b></p> |
9660 | </td> | | 9660 | </td> |
9661 | <td align="left" valign="top"><p>What is the difference between | | 9661 | <td align="left" valign="top"><p>What is the difference between |
9662 | <code class="varname">CC</code>, <code class="varname">PKG_CC</code> and | | 9662 | <code class="varname">CC</code>, <code class="varname">PKG_CC</code> and |
9663 | <code class="varname">PKGSRC_COMPILER</code>?</p></td> | | 9663 | <code class="varname">PKGSRC_COMPILER</code>?</p></td> |
9664 | </tr> | | 9664 | </tr> |
9665 | <tr class="answer"> | | 9665 | <tr class="answer"> |
9666 | <td align="left" valign="top"></td> | | 9666 | <td align="left" valign="top"></td> |
9667 | <td align="left" valign="top"><p><code class="varname">CC</code> is the path to the real C | | 9667 | <td align="left" valign="top"><p><code class="varname">CC</code> is the path to the real C |
9668 | compiler, which can be configured by the pkgsrc user. | | 9668 | compiler, which can be configured by the pkgsrc user. |
9669 | <code class="varname">PKG_CC</code> is the path to the compiler wrapper. | | 9669 | <code class="varname">PKG_CC</code> is the path to the compiler wrapper. |
9670 | <code class="varname">PKGSRC_COMPILER</code> is <span class="emphasis"><em>not</em></span> a | | 9670 | <code class="varname">PKGSRC_COMPILER</code> is <span class="emphasis"><em>not</em></span> a |
9671 | path to a compiler, but the type of compiler that should be | | 9671 | path to a compiler, but the type of compiler that should be |
9672 | used. See <code class="filename">mk/compiler.mk</code> for more | | 9672 | used. See <code class="filename">mk/compiler.mk</code> for more |
9673 | information about the latter variable.</p></td> | | 9673 | information about the latter variable.</p></td> |
9674 | </tr> | | 9674 | </tr> |
9675 | <tr class="question"> | | 9675 | <tr class="question"> |
9676 | <td align="left" valign="top"> | | 9676 | <td align="left" valign="top"> |
9677 | <a name="devfaq.bl3flags"></a><a name="idp2096494740"></a><p><b>22.4.</b></p> | | 9677 | <a name="devfaq.bl3flags"></a><a name="idp2134270580"></a><p><b>22.4.</b></p> |
9678 | </td> | | 9678 | </td> |
9679 | <td align="left" valign="top"><p>What is the difference between | | 9679 | <td align="left" valign="top"><p>What is the difference between |
9680 | <code class="varname">BUILDLINK_LDFLAGS</code>, | | 9680 | <code class="varname">BUILDLINK_LDFLAGS</code>, |
9681 | <code class="varname">BUILDLINK_LDADD</code> and | | 9681 | <code class="varname">BUILDLINK_LDADD</code> and |
9682 | <code class="varname">BUILDLINK_LIBS</code>?</p></td> | | 9682 | <code class="varname">BUILDLINK_LIBS</code>?</p></td> |
9683 | </tr> | | 9683 | </tr> |
9684 | <tr class="answer"> | | 9684 | <tr class="answer"> |
9685 | <td align="left" valign="top"></td> | | 9685 | <td align="left" valign="top"></td> |
9686 | <td align="left" valign="top"><p>[FIXME]</p></td> | | 9686 | <td align="left" valign="top"><p>[FIXME]</p></td> |
9687 | </tr> | | 9687 | </tr> |
9688 | <tr class="question"> | | 9688 | <tr class="question"> |
9689 | <td align="left" valign="top"> | | 9689 | <td align="left" valign="top"> |
9690 | <a name="devfaq.bl3prefix"></a><a name="idp2096493316"></a><p><b>22.5.</b></p> | | 9690 | <a name="devfaq.bl3prefix"></a><a name="idp2134272004"></a><p><b>22.5.</b></p> |
9691 | </td> | | 9691 | </td> |
9692 | <td align="left" valign="top"><p>Why does <span class="command"><strong>make show-var | | 9692 | <td align="left" valign="top"><p>Why does <span class="command"><strong>make show-var |
9693 | VARNAME=BUILDLINK_PREFIX.<em class="replaceable"><code>foo</code></em></strong></span> | | 9693 | VARNAME=BUILDLINK_PREFIX.<em class="replaceable"><code>foo</code></em></strong></span> |
9694 | say it's empty?</p></td> | | 9694 | say it's empty?</p></td> |
9695 | </tr> | | 9695 | </tr> |
9696 | <tr class="answer"> | | 9696 | <tr class="answer"> |
9697 | <td align="left" valign="top"></td> | | 9697 | <td align="left" valign="top"></td> |
9698 | <td align="left" valign="top"><p>For optimization reasons, some variables are only | | 9698 | <td align="left" valign="top"><p>For optimization reasons, some variables are only |
9699 | available in the <span class="quote">“<span class="quote">wrapper</span>”</span> phase and later. To | | 9699 | available in the <span class="quote">“<span class="quote">wrapper</span>”</span> phase and later. To |
9700 | <span class="quote">“<span class="quote">simulate</span>”</span> the wrapper phase, append | | 9700 | <span class="quote">“<span class="quote">simulate</span>”</span> the wrapper phase, append |
9701 | <span class="command"><strong>PKG_PHASE=wrapper</strong></span> to the above | | 9701 | <span class="command"><strong>PKG_PHASE=wrapper</strong></span> to the above |
9702 | command.</p></td> | | 9702 | command.</p></td> |
9703 | </tr> | | 9703 | </tr> |
9704 | <tr class="question"> | | 9704 | <tr class="question"> |
9705 | <td align="left" valign="top"> | | 9705 | <td align="left" valign="top"> |
9706 | <a name="devfaq.master_sites"></a><a name="idp2096491140"></a><p><b>22.6.</b></p> | | 9706 | <a name="devfaq.master_sites"></a><a name="idp2134274180"></a><p><b>22.6.</b></p> |
9707 | </td> | | 9707 | </td> |
9708 | <td align="left" valign="top"><p>What does | | 9708 | <td align="left" valign="top"><p>What does |
9709 | <code class="literal">${MASTER_SITE_SOURCEFORGE:=package/}</code> mean? I | | 9709 | <code class="literal">${MASTER_SITE_SOURCEFORGE:=package/}</code> mean? I |
9710 | don't understand the <code class="literal">:=</code> inside | | 9710 | don't understand the <code class="literal">:=</code> inside |
9711 | it.</p></td> | | 9711 | it.</p></td> |
9712 | </tr> | | 9712 | </tr> |
9713 | <tr class="answer"> | | 9713 | <tr class="answer"> |
9714 | <td align="left" valign="top"></td> | | 9714 | <td align="left" valign="top"></td> |
9715 | <td align="left" valign="top"><p>The <code class="literal">:=</code> is not really an | | 9715 | <td align="left" valign="top"><p>The <code class="literal">:=</code> is not really an |
9716 | assignment operator, like you might expect at first sight. | | 9716 | assignment operator, like you might expect at first sight. |
9717 | Instead, it is a degenerate form of | | 9717 | Instead, it is a degenerate form of |
9718 | <code class="literal">${LIST:<em class="replaceable"><code>old_string</code></em>=<em class="replaceable"><code>new_string</code></em>}</code>, | | 9718 | <code class="literal">${LIST:<em class="replaceable"><code>old_string</code></em>=<em class="replaceable"><code>new_string</code></em>}</code>, |
9719 | 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 | | 9719 | 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 |
9720 | may have seen as in <code class="literal">${SRCS:.c=.o}</code>. In the | | 9720 | may have seen as in <code class="literal">${SRCS:.c=.o}</code>. In the |
9721 | case of <code class="varname">MASTER_SITE_*</code>, | | 9721 | case of <code class="varname">MASTER_SITE_*</code>, |
9722 | <em class="replaceable"><code>old_string</code></em> is the empty string and | | 9722 | <em class="replaceable"><code>old_string</code></em> is the empty string and |
9723 | <em class="replaceable"><code>new_string</code></em> is | | 9723 | <em class="replaceable"><code>new_string</code></em> is |
9724 | <code class="literal">package/</code>. That's where the | | 9724 | <code class="literal">package/</code>. That's where the |
9725 | <code class="literal">:</code> and the <code class="literal">=</code> fall | | 9725 | <code class="literal">:</code> and the <code class="literal">=</code> fall |
9726 | together.</p></td> | | 9726 | together.</p></td> |
9727 | </tr> | | 9727 | </tr> |
9728 | <tr class="question"> | | 9728 | <tr class="question"> |
9729 | <td align="left" valign="top"> | | 9729 | <td align="left" valign="top"> |
9730 | <a name="devfaq.mailinglists"></a><a name="idp2096485876"></a><p><b>22.7.</b></p> | | 9730 | <a name="devfaq.mailinglists"></a><a name="idp2134279444"></a><p><b>22.7.</b></p> |
9731 | </td> | | 9731 | </td> |
9732 | <td align="left" valign="top"><p>Which mailing lists are there for package | | 9732 | <td align="left" valign="top"><p>Which mailing lists are there for package |
9733 | developers?</p></td> | | 9733 | developers?</p></td> |
9734 | </tr> | | 9734 | </tr> |
9735 | <tr class="answer"> | | 9735 | <tr class="answer"> |
9736 | <td align="left" valign="top"></td> | | 9736 | <td align="left" valign="top"></td> |
9737 | <td align="left" valign="top"><div class="variablelist"><dl class="variablelist"> | | 9737 | <td align="left" valign="top"><div class="variablelist"><dl class="variablelist"> |
9738 | <dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#tech-pkg" target="_top">tech-pkg</a></span></dt> | | 9738 | <dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#tech-pkg" target="_top">tech-pkg</a></span></dt> |
9739 | <dd><p>This is a list for technical discussions related | | 9739 | <dd><p>This is a list for technical discussions related |
9740 | to pkgsrc development, e.g. soliciting feedback for changes to | | 9740 | to pkgsrc development, e.g. soliciting feedback for changes to |
9741 | pkgsrc infrastructure, proposed new features, questions related | | 9741 | pkgsrc infrastructure, proposed new features, questions related |
9742 | to porting pkgsrc to a new platform, advice for maintaining a | | 9742 | to porting pkgsrc to a new platform, advice for maintaining a |
9743 | package, patches that affect many packages, help requests moved | | 9743 | package, patches that affect many packages, help requests moved |
9744 | from pkgsrc-users when an infrastructure bug is found, | | 9744 | from pkgsrc-users when an infrastructure bug is found, |
9745 | etc.</p></dd> | | 9745 | etc.</p></dd> |
9746 | <dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#pkgsrc-bugs" target="_top">pkgsrc-bugs</a></span></dt> | | 9746 | <dt><span class="term"><a class="ulink" href="http://www.NetBSD.org/mailinglists/index.html#pkgsrc-bugs" target="_top">pkgsrc-bugs</a></span></dt> |
9747 | <dd><p>All bug reports in category "pkg" sent with | | 9747 | <dd><p>All bug reports in category "pkg" sent with |
9748 | <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 | | 9748 | <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 |
9749 | directly; use one of the other mailing | | 9749 | directly; use one of the other mailing |
9750 | lists.</p></dd> | | 9750 | lists.</p></dd> |
9751 | </dl></div></td> | | 9751 | </dl></div></td> |
9752 | </tr> | | 9752 | </tr> |
9753 | <tr class="question"> | | 9753 | <tr class="question"> |
9754 | <td align="left" valign="top"> | | 9754 | <td align="left" valign="top"> |
9755 | <a name="devfaq.documentation"></a><a name="idp2096482980"></a><p><b>22.8.</b></p> | | 9755 | <a name="devfaq.documentation"></a><a name="idp2134282340"></a><p><b>22.8.</b></p> |
9756 | </td> | | 9756 | </td> |
9757 | <td align="left" valign="top"><p>Where is the pkgsrc | | 9757 | <td align="left" valign="top"><p>Where is the pkgsrc |
9758 | documentation?</p></td> | | 9758 | documentation?</p></td> |
9759 | </tr> | | 9759 | </tr> |
9760 | <tr class="answer"> | | 9760 | <tr class="answer"> |
9761 | <td align="left" valign="top"></td> | | 9761 | <td align="left" valign="top"></td> |
9762 | <td align="left" valign="top"> | | 9762 | <td align="left" valign="top"> |
9763 | <p>There are many places where you can find | | 9763 | <p>There are many places where you can find |
9764 | documentation about pkgsrc:</p> | | 9764 | documentation about pkgsrc:</p> |
9765 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> | | 9765 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> |
9766 | <li class="listitem"><p>The pkgsrc guide (this document) is a collection | | 9766 | <li class="listitem"><p>The pkgsrc guide (this document) is a collection |
9767 | of chapters that explain large parts of pkgsrc, but some | | 9767 | of chapters that explain large parts of pkgsrc, but some |
9768 | chapters tend to be outdated. Which ones they are is hard to | | 9768 | chapters tend to be outdated. Which ones they are is hard to |
| @@ -9790,27 +9790,27 @@ do? | | | @@ -9790,27 +9790,27 @@ do? |
9790 | documented</span>”</span>, that is the documentation exists only in the | | 9790 | documented</span>”</span>, that is the documentation exists only in the |
9791 | mind of the developer who wrote the code. To get this | | 9791 | mind of the developer who wrote the code. To get this |
9792 | information, use the <span class="command"><strong>cvs annotate</strong></span> command | | 9792 | information, use the <span class="command"><strong>cvs annotate</strong></span> command |
9793 | to see who has written it and ask on the | | 9793 | to see who has written it and ask on the |
9794 | <code class="literal">tech-pkg</code> mailing list, so that others can | | 9794 | <code class="literal">tech-pkg</code> mailing list, so that others can |
9795 | find your questions later (see above). To be sure that the | | 9795 | find your questions later (see above). To be sure that the |
9796 | developer in charge reads the mail, you may CC him or | | 9796 | developer in charge reads the mail, you may CC him or |
9797 | her.</p></li> | | 9797 | her.</p></li> |
9798 | </ul></div> | | 9798 | </ul></div> |
9799 | </td> | | 9799 | </td> |
9800 | </tr> | | 9800 | </tr> |
9801 | <tr class="question"> | | 9801 | <tr class="question"> |
9802 | <td align="left" valign="top"> | | 9802 | <td align="left" valign="top"> |
9803 | <a name="devfaq.too-much-time"></a><a name="idp2096477588"></a><p><b>22.9.</b></p> | | 9803 | <a name="devfaq.too-much-time"></a><a name="idp2134287764"></a><p><b>22.9.</b></p> |
9804 | </td> | | 9804 | </td> |
9805 | <td align="left" valign="top"><p>I have a little time to kill. What shall I | | 9805 | <td align="left" valign="top"><p>I have a little time to kill. What shall I |
9806 | do?</p></td> | | 9806 | do?</p></td> |
9807 | </tr> | | 9807 | </tr> |
9808 | <tr class="answer"> | | 9808 | <tr class="answer"> |
9809 | <td align="left" valign="top"></td> | | 9809 | <td align="left" valign="top"></td> |
9810 | <td align="left" valign="top"> | | 9810 | <td align="left" valign="top"> |
9811 | <p>This is not really an FAQ yet, but here's the answer | | 9811 | <p>This is not really an FAQ yet, but here's the answer |
9812 | anyway.</p> | | 9812 | anyway.</p> |
9813 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> | | 9813 | <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> |
9814 | <li class="listitem"><p>Run <span class="command"><strong>pkg_chk -N</strong></span> (from the | | 9814 | <li class="listitem"><p>Run <span class="command"><strong>pkg_chk -N</strong></span> (from the |
9815 | <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 | | 9815 | <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 |
9816 | will tell you about newer versions of installed packages that are | | 9816 | will tell you about newer versions of installed packages that are |