pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk The CHECK_INTERPRETER_SKIP patterns may be either f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24509be92c20
branches:  trunk
changeset: 506996:24509be92c20
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jan 24 22:17:12 2006 +0000

description:
The CHECK_INTERPRETER_SKIP patterns may be either for absolute pathnames or
for pathnames relative to ${PREFIX}.

diffstat:

 mk/bsd.pkg.check.mk |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 322d377e4f63 -r 24509be92c20 mk/bsd.pkg.check.mk
--- a/mk/bsd.pkg.check.mk       Tue Jan 24 22:16:55 2006 +0000
+++ b/mk/bsd.pkg.check.mk       Tue Jan 24 22:17:12 2006 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index