summaryrefslogtreecommitdiff
path: root/mk/buildlink3/BUILDLINK3_DG
diff options
context:
space:
mode:
authortv <tv>2005-03-24 17:46:00 +0000
committertv <tv>2005-03-24 17:46:00 +0000
commita1cc7c413693678373ea86a90f2540a3787b9396 (patch)
treed810c92114f578110af57e0a04897d51e7bceb57 /mk/buildlink3/BUILDLINK3_DG
parent72be50ce35f4491f934dfba759ad82ea8dc1a98d (diff)
downloadpkgsrc-a1cc7c413693678373ea86a90f2540a3787b9396.tar.gz
USE_BUILDLINK3 is no longer optional (and cannot be turned off). Per mail
to tech-pkg: ===== * USE_BUILDLINK3=YES will be unconditional. (In fact, USE_BUILDLINK3 will be ignored altogether by mk/; but see below.) * NO_BUILDLINK and NO_WRAPPER will be ignored by mk/. If a build happens, these phases will happen. * The existing NO_BUILD will imply the previous NO_BUILDLINK and NO_WRAPPER. If no build happens, those phases are not needed. * NO_TOOLS will be ignored by mk/. The tools phase, which provides much more than just the C compiler, will always happen regardless of package. This will make metapackage builds only slightly slower, in trade for far less user error.
Diffstat (limited to 'mk/buildlink3/BUILDLINK3_DG')
-rw-r--r--mk/buildlink3/BUILDLINK3_DG26
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=...