From 9f079dd8581be9784ee730720e6699c8c95b4b7c Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Sun, 1 Dec 2002 05:51:33 +0000 Subject: 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. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') 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: -- cgit v1.2.3