summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2004-02-05 07:49:48 +0000
committerseb <seb@pkgsrc.org>2004-02-05 07:49:48 +0000
commit9429c9246f1500a66ff32ad1fbf7cd90c67182af (patch)
tree8be2dc8da43f6c590a53bd82185dca59444d000c /mk
parent76940f303127fc4e8010c2f942f01ff36cde03b1 (diff)
downloadpkgsrc-9429c9246f1500a66ff32ad1fbf7cd90c67182af.tar.gz
Mention that some buildlink3 variables are not defined at all times.
Approved by jlam@.
Diffstat (limited to 'mk')
-rw-r--r--mk/buildlink3/BUILDLINK3_DG10
1 files changed, 8 insertions, 2 deletions
diff --git a/mk/buildlink3/BUILDLINK3_DG b/mk/buildlink3/BUILDLINK3_DG
index a878984c48e..170f510f084 100644
--- a/mk/buildlink3/BUILDLINK3_DG
+++ b/mk/buildlink3/BUILDLINK3_DG
@@ -1,4 +1,4 @@
-$NetBSD: BUILDLINK3_DG,v 1.1 2004/01/29 06:03:15 jlam Exp $
+$NetBSD: BUILDLINK3_DG,v 1.2 2004/02/05 07:49:48 seb Exp $
0 Developer's guide to buildlink3
=================================
@@ -92,7 +92,7 @@ The following real-life example buildlink3.mk is taken from
graphics/tiff:
------------8<------------8<------------8<------------8<------------
-# $NetBSD: BUILDLINK3_DG,v 1.1 2004/01/29 06:03:15 jlam Exp $
+# $NetBSD: BUILDLINK3_DG,v 1.2 2004/02/05 07:49:48 seb Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TIFF_BUILDLINK3_MK:= ${TIFF_BUILDLINK3_MK}+
@@ -229,3 +229,9 @@ A3: You should examine the contents of the ${WRKDIR}/.work.log file.
The lines preceded with [*] are the commands that are intercepted
by the wrapper scripts, and the lines preceded with <.> are the
commands that are executed by the wrapper scripts.
+
+Q4: Why variables set by the buildlink3 framework can't be seen with
+ 'make show-var VARNAME=....'?
+
+A4: Some buildlink3 variable are only defined for a subset of a package
+ build phases. Try 'make PKG_PHASE=buildlink VARNAME=...' instead.