diff options
author | agc <agc> | 1999-03-22 09:38:22 +0000 |
---|---|---|
committer | agc <agc> | 1999-03-22 09:38:22 +0000 |
commit | fc3e81d33cd3137bea557960c4e35b530496e32a (patch) | |
tree | 6e4cf164ffee508e0527b5371281bee77d4cb038 /mk/bsd.pkg.mk | |
parent | 9b599132d515b1a725b932fa83984ae67afa218e (diff) | |
download | pkgsrc-fc3e81d33cd3137bea557960c4e35b530496e32a.tar.gz |
Move the definition of BUILD_ROOT into bsd.pkg.mk, from the individual
package Makefiles which need it.
Diffstat (limited to 'mk/bsd.pkg.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 |