summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-03-22 09:38:22 +0000
committeragc <agc@pkgsrc.org>1999-03-22 09:38:22 +0000
commit49ad04f369a8c6377a9622cf8476668c2abc2bd2 (patch)
tree6e4cf164ffee508e0527b5371281bee77d4cb038 /mk
parentd558f0b8f6cdded4526e9395b847e59f4f01bfb5 (diff)
downloadpkgsrc-49ad04f369a8c6377a9622cf8476668c2abc2bd2.tar.gz
Move the definition of BUILD_ROOT into bsd.pkg.mk, from the individual
package Makefiles which need it.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 0eef63b9748..acba1e16bcb 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.230 1999/03/17 12:05:40 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.231 1999/03/22 09:38:22 agc Exp $
#
# This file is in the public domain.
#
@@ -341,8 +341,10 @@ _PKG_DEBUG= set -x;
__canonical_PKGSRCDIR!= cd ${PKGSRCDIR} && pwd -P
__canonical_CURDIR!= cd ${.CURDIR} && pwd -P
PKGSRC_SUBDIR= ${__canonical_CURDIR:S,${__canonical_PKGSRCDIR}/,,}
+BUILD_ROOT= ${WRKOBJDIR}
BUILD_DIR?= ${WRKOBJDIR}/${PKGSRC_SUBDIR}
.else
+BUILD_ROOT= ${PKGSRCDIR}
BUILD_DIR?= ${.CURDIR}
.endif # WRKOBJDIR