diff options
author | joerg <joerg@pkgsrc.org> | 2009-09-02 14:43:06 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-09-02 14:43:06 +0000 |
commit | 081c8268a33e541f77b5957e2092ea379fc9078f (patch) | |
tree | 1d75ca719cc0d113b74a4a0ed25d968d4fe2cb83 /mk/check | |
parent | f55b62ae0e65271929560db299ba9eb3df70555e (diff) | |
download | pkgsrc-081c8268a33e541f77b5957e2092ea379fc9078f.tar.gz |
Add wrkref check for using the .buildlink or .x11-buildlink
subdirectories. Update comment on the default checks.
Diffstat (limited to 'mk/check')
-rw-r--r-- | mk/check/check-wrkref.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/mk/check/check-wrkref.mk b/mk/check/check-wrkref.mk index 904a1283b31..2e54b298925 100644 --- a/mk/check/check-wrkref.mk +++ b/mk/check/check-wrkref.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-wrkref.mk,v 1.19 2009/01/12 13:11:22 uebayasi Exp $ +# $NetBSD: check-wrkref.mk,v 1.20 2009/09/02 14:43:06 joerg 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 @@ -16,9 +16,12 @@ # * "work" for WRKDIR # * "wrkobjdir" for WRKOBJDIR # * "pkgsrc" for PKGSRCDIR +# * "buildlink" for BUILDLINK_DIR and BUILDLINK_X11_DIR # * "extra" for CHECK_WRKREF_EXTRA_DIRS # -# Default value: "tools" for PKG_DEVELOPERs, "no" otherwise. +# Default value: "tools home" for PKG_DEVELOPERs, "no" otherwise. +# The "buildlink" option works best in combination with +# STRIP_DEBUG=yes. # # CHECK_WRKREF_EXTRA_DIRS # A list of additional directories (or other strings) that must @@ -52,6 +55,10 @@ _CHECK_WRKREF_DIR.home= ${FAKEHOMEDIR} _CHECK_WRKREF_DIR.wrkobjdir= ${WRKOBJDIR} _CHECK_WRKREF_DIR.wrksrc= ${WRKSRC} _CHECK_WRKREF_DIR.pkgsrc= ${PKGSRCDIR} +_CHECK_WRKREF_DIR.buildlink= ${BUILDLINK_DIR} +.if defined(USE_X11) && ${X11_TYPE} != "modular" +_CHECK_WRKREF_DIR.buildlink+= ${BUILDLINK_X11_DIR} +.endif _CHECK_WRKREF_DIR.extra= ${CHECK_WRKREF_EXTRA_DIRS} _CHECK_WRKREF_DIRS= # none |