summaryrefslogtreecommitdiff
path: root/mk/check/check-wrkref.mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-09-05 13:34:32 +0000
committerrillig <rillig@pkgsrc.org>2007-09-05 13:34:32 +0000
commit876b9237c314ac96296dd7ed429dc767b7d6eab8 (patch)
treea04b2d11b04b98da0740f2fd9f6c5ddcb15d57d4 /mk/check/check-wrkref.mk
parentda21e84894f011b6263019628ebbd23b4ed8431a (diff)
downloadpkgsrc-876b9237c314ac96296dd7ed429dc767b7d6eab8.tar.gz
Now it's possible to add custom directories to the check for directory
references.
Diffstat (limited to 'mk/check/check-wrkref.mk')
-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}