summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authorrillig <rillig>2007-09-05 13:34:32 +0000
committerrillig <rillig>2007-09-05 13:34:32 +0000
commitcaa738fa43b137ca11ca2f88de437c56bdcb707d (patch)
treea04b2d11b04b98da0740f2fd9f6c5ddcb15d57d4 /mk/check
parentfa64c0449a046506e29e2bd378782546f7db9518 (diff)
downloadpkgsrc-caa738fa43b137ca11ca2f88de437c56bdcb707d.tar.gz
Now it's possible to add custom directories to the check for directory
references.
Diffstat (limited to 'mk/check')
-rw-r--r--mk/check/check-wrkref.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/check/check-wrkref.mk b/mk/check/check-wrkref.mk
index 51feb6e4be3..2dab3526890 100644
--- a/mk/check/check-wrkref.mk
+++ b/mk/check/check-wrkref.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-wrkref.mk,v 1.13 2007/03/16 10:29:22 rillig Exp $
+# $NetBSD: check-wrkref.mk,v 1.14 2007/09/05 13:34:32 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,9 +14,16 @@
# * "wrksrc" for WRKSRC
# * "work" for WRKDIR
# * "wrkobjdir" for WRKOBJDIR
+# * "extra" for CHECK_WRKREF_EXTRA_DIRS
#
# Default value: "tools" for PKG_DEVELOPERs, "no" otherwise.
#
+# CHECK_WRKREF_EXTRA_DIRS
+# A list of additional directories (or other strings) that must
+# not appear in the installed files. For pbulk builds, the
+# location where the pbulk tools are installed should be added
+# here.
+#
# Package-settable variables:
#
# CHECK_WRKREF_SKIP:
@@ -41,6 +48,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.extra= ${CHECK_WRKREF_EXTRA_DIRS}
_CHECK_WRKREF_DIRS= # none
.for d in ${CHECK_WRKREF}