pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk The various bsd.pkginstall.mk variables can be path...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45182a9ac7e4
branches:  trunk
changeset: 498330:45182a9ac7e4
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Aug 20 02:09:04 2005 +0000

description:
The various bsd.pkginstall.mk variables can be paths relative to
${PREFIX}, so prepend the words with ${PREFIX} in that case when
setting CHECK_FILES_SKIP.

diffstat:

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

diffs (22 lines):

diff -r 433a5bdfb039 -r 45182a9ac7e4 mk/bsd.pkg.check.mk
--- a/mk/bsd.pkg.check.mk       Sat Aug 20 01:56:11 2005 +0000
+++ b/mk/bsd.pkg.check.mk       Sat Aug 20 02:09:04 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.check.mk,v 1.12 2005/08/19 22:24:09 jlam Exp $
+# $NetBSD: bsd.pkg.check.mk,v 1.13 2005/08/20 02:09:04 jlam Exp $
 #
 # This Makefile fragment is included by bsd.pkg.mk and defines the
 # relevant variables and targets for the various install-time "check"
@@ -60,10 +60,10 @@
 CHECK_FILES_SKIP+=     ${PERL5_INSTALLARCHLIB}/perllocal.pod
 CHECK_FILES_SKIP+=     ${PREFIX}/emul/linux/proc
 .for d in ${MAKE_DIRS} ${REQD_DIRS} ${OWN_DIRS}
-CHECK_FILES_SKIP+=     ${d}
+CHECK_FILES_SKIP+=     ${d:C/^([^\/])/${PREFIX}\/\1/}
 .endfor
 .for d o g m in ${MAKE_DIRS_PERMS} ${REQD_DIRS_PERMS} ${OWN_DIRS_PERMS}
-CHECK_FILES_SKIP+=     ${d}
+CHECK_FILES_SKIP+=     ${d:C/^([^\/])/${PREFIX}\/\1/}
 .endfor
 _CHECK_FILES_SKIP_FILTER=      ${GREP} -v ${CHECK_FILES_SKIP:@f@-e ${f:Q}@}
 



Home | Main Index | Thread Index | Old Index