summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-05-10 16:19:55 +0000
committerrillig <rillig@pkgsrc.org>2006-05-10 16:19:55 +0000
commit7bc0a760194d0a587349622047bac6966b1f62a2 (patch)
treee5768f4b4ecbf7d53a9b9a7dc942a5a9b802672d /doc
parent37a9f202fdd95ee3bbb903473ecc5b662f2cdbf7 (diff)
downloadpkgsrc-7bc0a760194d0a587349622047bac6966b1f62a2.tar.gz
+ Why does make show-var VARNAME=BUILDLINK_PREFIX.foo say it's empty?
Diffstat (limited to 'doc')
-rw-r--r--doc/guide/files/devfaq.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/guide/files/devfaq.xml b/doc/guide/files/devfaq.xml
index 4d8a0fa713e..d96ba9d1445 100644
--- a/doc/guide/files/devfaq.xml
+++ b/doc/guide/files/devfaq.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: devfaq.xml,v 1.1 2006/05/10 13:58:34 rillig Exp $ -->
+<!-- $NetBSD: devfaq.xml,v 1.2 2006/05/10 16:19:55 rillig Exp $ -->
<chapter id="devfaq"> <?dbhtml filename="devfaq.html"?>
<title>Frequently Asked Questions</title>
@@ -63,5 +63,19 @@
<answer><para>[FIXME]</para></answer>
</qandaentry>
+
+<qandaentry>
+
+ <question><para>Why does <command>make show-var
+ VARNAME=BUILDLINK_PREFIX.<replaceable>foo</replaceable></command>
+ say it's empty?</para></question>
+
+ <answer><para>For optimization reasons, some variables are only
+ available in the <quote>wrapper</quote> phase and later. To
+ <quote>simulate</quote> the wrapper phase, append
+ <command>PKG_PHASE=wrapper</command> to the above
+ command.</para></answer>
+
+</qandaentry>
</qandaset>
</chapter>