pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/check Now it's possible to add custom directories t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/566baf5cc030
branches: trunk
changeset: 532945:566baf5cc030
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Sep 05 13:34:32 2007 +0000
description:
Now it's possible to add custom directories to the check for directory
references.
diffstat:
mk/check/check-wrkref.mk | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 01fe57ab9eb0 -r 566baf5cc030 mk/check/check-wrkref.mk
--- a/mk/check/check-wrkref.mk Wed Sep 05 10:36:57 2007 +0000
+++ b/mk/check/check-wrkref.mk Wed Sep 05 13:34:32 2007 +0000
@@ -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.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}
Home |
Main Index |
Thread Index |
Old Index