summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-09-13 09:52:46 +0000
committerrillig <rillig@pkgsrc.org>2007-09-13 09:52:46 +0000
commit7c238f45883a40c4fb43942a30dc6d8664c78c3c (patch)
tree491e16e08b54ddfa34fae1248890917fc4ecc1f8 /mk/check
parent9f73392cff66be5a82390fad79848c5e1878beca (diff)
downloadpkgsrc-7c238f45883a40c4fb43942a30dc6d8664c78c3c.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