pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc/guide/files Added a chapter in the developer's par...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eaf5d7625431
branches:  trunk
changeset: 512473:eaf5d7625431
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed May 10 13:58:34 2006 +0000

description:
Added a chapter in the developer's part for frequently asked questions.

diffstat:

 doc/guide/files/chapters.ent |   3 +-
 doc/guide/files/devfaq.xml   |  67 ++++++++++++++++++++++++++++++++++++++++++++
 doc/guide/files/pkgsrc.xml   |   5 +-
 3 files changed, 72 insertions(+), 3 deletions(-)

diffs (117 lines):

diff -r a83ae9c045ce -r eaf5d7625431 doc/guide/files/chapters.ent
--- a/doc/guide/files/chapters.ent      Wed May 10 13:52:49 2006 +0000
+++ b/doc/guide/files/chapters.ent      Wed May 10 13:58:34 2006 +0000
@@ -1,7 +1,7 @@
 <!--
        Creates entities for each chapter in the pkgsrc book.
 
-       $NetBSD: chapters.ent,v 1.8 2006/02/18 01:46:43 rillig Exp $
+       $NetBSD: chapters.ent,v 1.9 2006/05/10 13:58:34 rillig Exp $
 -->
 
 <!ENTITY chap.intro                    SYSTEM "introduction.xml">
@@ -27,6 +27,7 @@
 <!ENTITY chap.debug                    SYSTEM "debug.xml">
 <!ENTITY chap.submit                   SYSTEM "submit.xml">
 <!ENTITY chap.porting                  SYSTEM "porting.xml">
+<!ENTITY chap.devfaq                   SYSTEM "devfaq.xml">
 
 <!-- appendix -->
 <!ENTITY chap.examples                 SYSTEM "examples.xml">
diff -r a83ae9c045ce -r eaf5d7625431 doc/guide/files/devfaq.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/guide/files/devfaq.xml        Wed May 10 13:58:34 2006 +0000
@@ -0,0 +1,67 @@
+<!-- $NetBSD: devfaq.xml,v 1.1 2006/05/10 13:58:34 rillig Exp $ -->
+
+<chapter id="devfaq"> <?dbhtml filename="devfaq.html"?>
+<title>Frequently Asked Questions</title>
+
+       <para>This section contains the answers to questions that may
+       arise when you are writing a package. If you don't find your
+       question answered here, first have a look in the other chapters,
+       and if you still don't have the answer, ask on the
+       <literal>pkgsrc-users</literal> mailing list.</para>
+
+<qandaset>
+<qandaentry>
+
+       <question><para>What is the difference between
+       <varname>MAKEFLAGS</varname>, <varname>.MAKEFLAGS</varname> and
+       <varname>MAKE_FLAGS</varname>?</para></question>
+
+       <answer><para><varname>MAKEFLAGS</varname> are the flags passed
+       to the pkgsrc-internal invocations of &man.make.1;, while
+       <varname>MAKE_FLAGS</varname> are the flags that are passed to
+       the <varname>MAKE_PROGRAM</varname> when building the
+       package. [FIXME: What is .MAKEFLAGS for?]</para></answer>
+
+</qandaentry>
+<qandaentry>
+
+       <question><para>What is the difference between
+       <varname>MAKE</varname>, <varname>GMAKE</varname> and
+       <varname>MAKE_PROGRAM</varname>?</para></question>
+
+       <answer><para><varname>MAKE</varname> is the path to the
+       &man.make.1; program that is used in the pkgsrc
+       infrastructure. <varname>GMAKE</varname> is the path to GNU
+       Make, but you need to say <varname>USE_TOOLS+=gmake</varname> to
+       use that. <varname>MAKE_PROGRAM</varname> is the path to the
+       Make program that is used for building the
+       package.</para></answer>
+
+</qandaentry>
+<qandaentry>
+
+       <question><para>What is the difference between
+       <varname>CC</varname>, <varname>PKG_CC</varname> and
+       <varname>PKGSRC_COMPILER</varname>?</para></question>
+
+       <answer><para><varname>CC</varname> is the path to the real C
+       compiler, which can be configured by the pkgsrc user.
+       <varname>PKG_CC</varname> is the path to the compiler wrapper.
+       <varname>PKGSRC_COMPILER</varname> is <emphasis>not</emphasis> a
+       path to a compiler, but the type of compiler that should be
+       used. See <filename>mk/compiler.mk</filename> for more
+       information about the latter variable.</para></answer>
+
+</qandaentry>
+<qandaentry>
+
+       <question><para>What is the difference between
+       <varname>BUILDLINK_LDFLAGS</varname>,
+       <varname>BUILDLINK_LDADD</varname> and
+       <varname>BUILDLINK_LIBS</varname>?</para></question>
+
+       <answer><para>[FIXME]</para></answer>
+
+</qandaentry>
+</qandaset>
+</chapter>
diff -r a83ae9c045ce -r eaf5d7625431 doc/guide/files/pkgsrc.xml
--- a/doc/guide/files/pkgsrc.xml        Wed May 10 13:52:49 2006 +0000
+++ b/doc/guide/files/pkgsrc.xml        Wed May 10 13:58:34 2006 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: pkgsrc.xml,v 1.12 2006/02/18 01:46:43 rillig Exp $ -->
+<!-- $NetBSD: pkgsrc.xml,v 1.13 2006/05/10 13:58:34 rillig Exp $ -->
 
 
 <?xml version="1.0"?>
@@ -45,7 +45,7 @@
       <holder role="mailto:www%NetBSD.org@localhost";>The NetBSD Foundation, Inc</holder>
     </copyright>
 
-    <pubdate>$NetBSD: pkgsrc.xml,v 1.12 2006/02/18 01:46:43 rillig Exp $</pubdate>
+    <pubdate>$NetBSD: pkgsrc.xml,v 1.13 2006/05/10 13:58:34 rillig Exp $</pubdate>
 
     <abstract>
       <para>Information about using the NetBSD package system (pkgsrc)
@@ -83,6 +83,7 @@
     &chap.debug;
     &chap.submit;
     &chap.porting;
+    &chap.devfaq;
   </part>
 
   <!-- appendix -->



Home | Main Index | Thread Index | Old Index