summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authorrillig <rillig>2007-01-07 11:21:24 +0000
committerrillig <rillig>2007-01-07 11:21:24 +0000
commitd488ef8824eb172c8dfc4b22692a35ad04588b35 (patch)
tree4a43d0424230a50445624f9bfdb76507c23a4dfa /mk/check
parent1fd928e988d8774b60bf9914a134ad7788ab904b (diff)
downloadpkgsrc-d488ef8824eb172c8dfc4b22692a35ad04588b35.tar.gz
Fixed the mismatch between absolute and relative paths.
Diffstat (limited to 'mk/check')
-rw-r--r--mk/check/check-wrkref.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/check/check-wrkref.mk b/mk/check/check-wrkref.mk
index 3249f6779e6..7155519cc85 100644
--- a/mk/check/check-wrkref.mk
+++ b/mk/check/check-wrkref.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-wrkref.mk,v 1.10 2006/11/12 00:13:26 rillig Exp $
+# $NetBSD: check-wrkref.mk,v 1.11 2007/01/07 11:21:24 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
@@ -21,7 +21,7 @@
#
# CHECK_WRKREF_SKIP:
# The list of filename patterns that should be excluded from this
-# test.
+# test, either absolute or relative to PREFIX.
#
.if defined(PKG_DEVELOPER)
@@ -30,7 +30,7 @@ CHECK_WRKREF?= tools
CHECK_WRKREF?= no
CHECK_WRKREF_SKIP?= # none
-_CHECK_WRKREF_FILELIST_CMD?= ${SED} -e '/^@/d' ${PLIST}
+_CHECK_WRKREF_FILELIST_CMD?= ${PKG_FILELIST_CMD}
_CHECK_WRKREF_DIR.no= # none
_CHECK_WRKREF_DIR.work= ${WRKDIR}
@@ -55,7 +55,7 @@ _check-wrkref: error-check .PHONY
${_CHECK_WRKREF_FILELIST_CMD} | ${SORT} | \
while read file; do \
case "$$file" in \
- ${CHECK_WRKREF_SKIP:@p@${p}) continue;; @} \
+ ${CHECK_WRKREF_SKIP:@p@${p} | ${PREFIX}/${p}) continue;; @} \
*) ;; \
esac; \
${SHCOMMENT} "[$$file]"; \