diff options
Diffstat (limited to 'mk/buildlink3/BUILDLINK3_DG')
-rw-r--r-- | mk/buildlink3/BUILDLINK3_DG | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/mk/buildlink3/BUILDLINK3_DG b/mk/buildlink3/BUILDLINK3_DG index 866ba4b8546..6f7f4d05d4d 100644 --- a/mk/buildlink3/BUILDLINK3_DG +++ b/mk/buildlink3/BUILDLINK3_DG @@ -1,4 +1,4 @@ -$NetBSD: BUILDLINK3_DG,v 1.6 2004/09/21 15:01:40 jlam Exp $ +$NetBSD: BUILDLINK3_DG,v 1.7 2005/03/24 17:46:01 tv Exp $ 0 Developer's guide to buildlink3 ================================= @@ -59,35 +59,19 @@ to build against the viewed instance of a depoted package. 2 Troubleshooting ================= -Q1: I'm trying to bl3ify a package but I get an error that looks like: - - make: don't know how to make _BUILDLINK_USE. Stop - -A1: You forgot to change a reference to a buildlink2.mk file into a - buildlink3.mk file. - - -Q2: Dependencies are added for every single buildlink3.mk file I - include, including for when it's supposed to use the base system - software. What's going on? - -A2: You forgot to change USE_BUILDLINK2 to USE_BUILDLINK3 in the - package Makefile. - - -Q3: Where can I see the actual command executed by the wrapper +Q1: Where can I see the actual command executed by the wrapper scripts? -A3: You should examine the contents of the ${WRKDIR}/.work.log file. +A1: 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 can't I check the values of variables set by the buildlink3 +Q2: Why can't I check the values of variables set by the buildlink3 framework using 'make show-var VARNAME=...'? -A4: Some variables are only defined for a subset of the package build +A2: Some variables are only defined for a subset of the package build phases. Try instead: make show-var PKG_PHASE=wrapper VARNAME=... |