diff options
author | rillig <rillig@pkgsrc.org> | 2006-01-24 22:17:12 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-01-24 22:17:12 +0000 |
commit | 0af03625f2c9ccc8279f14bb1832b4038ad58fba (patch) | |
tree | eda3df467bd500987beba73406095f64af3099c8 /mk | |
parent | a4dca0bf59bd7fd5ed233d9fc882fd1a501db6a3 (diff) | |
download | pkgsrc-0af03625f2c9ccc8279f14bb1832b4038ad58fba.tar.gz |
The CHECK_INTERPRETER_SKIP patterns may be either for absolute pathnames or
for pathnames relative to ${PREFIX}.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.check.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/bsd.pkg.check.mk b/mk/bsd.pkg.check.mk index 51668040d5b..395c16ce8f2 100644 --- a/mk/bsd.pkg.check.mk +++ b/mk/bsd.pkg.check.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.check.mk,v 1.27 2006/01/21 10:13:25 rillig Exp $ +# $NetBSD: bsd.pkg.check.mk,v 1.28 2006/01/24 22:17:12 rillig Exp $ # # This Makefile fragment is included by bsd.pkg.mk and defines the # relevant variables and targets for the various install-time "check" @@ -422,9 +422,11 @@ check-wrkref: # CHECK_INTERPRETER_SKIP is a list of shell globs. Installed files that # match these globs are skipped when running the check-interpreter target. # +CHECK_INTERPRETER_SKIP?= # empty + _CHECK_INTERP_SKIP_FILTER= case $$file in -.for _pattern_ in ${CHECK_INTERPRETER_SKIP:U} -_CHECK_INTERP_SKIP_FILTER+= ${_pattern_}) continue ;; +.for _pattern_ in ${CHECK_INTERPRETER_SKIP} +_CHECK_INTERP_SKIP_FILTER+= ${PREFIX:Q}/${_pattern_}|${_pattern_}) continue ;; .endfor _CHECK_INTERP_SKIP_FILTER+= *) ;; _CHECK_INTERP_SKIP_FILTER+= esac |