From 875ddcd7d7d54413a414340d5ddfe9f15553c9cb Mon Sep 17 00:00:00 2001 From: rillig Date: Thu, 13 Sep 2007 09:52:46 +0000 Subject: 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. --- mk/check/check-wrkref.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mk') 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 -- cgit v1.2.3