summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-12-01 05:51:33 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-12-01 05:51:33 +0000
commit9f079dd8581be9784ee730720e6699c8c95b4b7c (patch)
tree9fc91bda7445d84bafe6582e3a650e09c2dccc62 /Makefile
parent1c2ca2f346efa5c9121aeafae2a4e2ae91ca35cd (diff)
downloadpkgsrc-9f079dd8581be9784ee730720e6699c8c95b4b7c.tar.gz
use = instead of ?= when setting _PKGSRCDIR during the bulk-cache target.
Otherwise a bad value of _PKGSRCDIR will be used and the bulk cache creation fails. This didn't show up before because formerly _PKGSRCDIR was previously set in bsd.pkg.mk instead of bsd.prefs.mk as it is now. Should fix bulk build dependency problems noted recently by Hubert.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a44c4c23549..8c3ff209f0b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2002/09/24 13:59:20 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2002/12/01 05:51:33 dmcmahill Exp $
#
.include "mk/bsd.prefs.mk"
@@ -58,7 +58,9 @@ PKGSRCTOP= yes
# directory.
.if make(bulk-cache) || make(clean-bulk-cache)
.include "${.CURDIR}/mk/bulk/bsd.bulk-pkg.mk"
-_PKGSRCDIR?=${.CURDIR}
+# force the setting of _PKGSRCDIR because the way it gets
+# set in bsd.prefs.mk is broken if you're in this top level directory
+_PKGSRCDIR=${.CURDIR}
.endif
index: