summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authorrillig <rillig>2007-09-13 09:52:46 +0000
committerrillig <rillig>2007-09-13 09:52:46 +0000
commiteb170c34ae4d970062f2beda7fe09def15096327 (patch)
tree491e16e08b54ddfa34fae1248890917fc4ecc1f8 /mk/check
parent2530e8283a5aed5f384884f1f306b8dceddc7c1a (diff)
downloadpkgsrc-eb170c34ae4d970062f2beda7fe09def15096327.tar.gz
In bulk builds with a custom PKGSRCDIR, that directory should not appear
in binary packages. This check can be enabled by adding "pkgsrc" to CHECK_WRKREF.
Diffstat (limited to 'mk/check')
-rw-r--r--mk/check/check-wrkref.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/check/check-wrkref.mk b/mk/check/check-wrkref.mk
index 2dab3526890..637dd72e7a0 100644
--- a/mk/check/check-wrkref.mk
+++ b/mk/check/check-wrkref.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-wrkref.mk,v 1.14 2007/09/05 13:34:32 rillig Exp $
+# $NetBSD: check-wrkref.mk,v 1.15 2007/09/13 09:52:46 rillig Exp $
#
# This file checks that the installed files don't contain any strings
# that point to the directory where the package had been built, to make
@@ -14,6 +14,7 @@
# * "wrksrc" for WRKSRC
# * "work" for WRKDIR
# * "wrkobjdir" for WRKOBJDIR
+# * "pkgsrc" for PKGSRCDIR
# * "extra" for CHECK_WRKREF_EXTRA_DIRS
#
# Default value: "tools" for PKG_DEVELOPERs, "no" otherwise.
@@ -48,6 +49,7 @@ _CHECK_WRKREF_DIR.work= ${WRKDIR}
_CHECK_WRKREF_DIR.tools= ${TOOLS_DIR}
_CHECK_WRKREF_DIR.wrkobjdir= ${WRKOBJDIR}
_CHECK_WRKREF_DIR.wrksrc= ${WRKSRC}
+_CHECK_WRKREF_DIR.pkgsrc= ${PKGSRCDIR}
_CHECK_WRKREF_DIR.extra= ${CHECK_WRKREF_EXTRA_DIRS}
_CHECK_WRKREF_DIRS= # none