diff options
author | agc <agc@pkgsrc.org> | 1999-03-22 09:38:22 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-03-22 09:38:22 +0000 |
commit | 49ad04f369a8c6377a9622cf8476668c2abc2bd2 (patch) | |
tree | 6e4cf164ffee508e0527b5371281bee77d4cb038 /mk | |
parent | d558f0b8f6cdded4526e9395b847e59f4f01bfb5 (diff) | |
download | pkgsrc-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.mk | 4 |
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 |