diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-07 11:21:24 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-07 11:21:24 +0000 |
commit | 8f9366bf88ab3710c0d3383839c5073e06250c7f (patch) | |
tree | 4a43d0424230a50445624f9bfdb76507c23a4dfa /mk | |
parent | 4f7840844d35dff43e9c5ee0da043ab0dd8df01d (diff) | |
download | pkgsrc-8f9366bf88ab3710c0d3383839c5073e06250c7f.tar.gz |
Fixed the mismatch between absolute and relative paths.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/check/check-wrkref.mk | 8 |
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]"; \ |