pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/check Add wrkref check for using the .buildlink or ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2b6daf759fdf
branches: trunk
changeset: 398560:2b6daf759fdf
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Sep 02 14:43:06 2009 +0000
description:
Add wrkref check for using the .buildlink or .x11-buildlink
subdirectories. Update comment on the default checks.
diffstat:
mk/check/check-wrkref.mk | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 2fb53a695826 -r 2b6daf759fdf mk/check/check-wrkref.mk
--- a/mk/check/check-wrkref.mk Wed Sep 02 14:40:40 2009 +0000
+++ b/mk/check/check-wrkref.mk Wed Sep 02 14:43:06 2009 +0000
@@ -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.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
Home |
Main Index |
Thread Index |
Old Index