pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/check In bulk builds with a custom PKGSRCDIR, that ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c9d243b6cea
branches:  trunk
changeset: 533269:9c9d243b6cea
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Sep 13 09:52:46 2007 +0000

description:
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:

 mk/check/check-wrkref.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 49d7eb0e1a16 -r 9c9d243b6cea mk/check/check-wrkref.mk
--- a/mk/check/check-wrkref.mk  Thu Sep 13 09:46:16 2007 +0000
+++ b/mk/check/check-wrkref.mk  Thu Sep 13 09:52:46 2007 +0000
@@ -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.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



Home | Main Index | Thread Index | Old Index