diff options
author | jmmv <jmmv@pkgsrc.org> | 2005-01-14 18:02:38 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2005-01-14 18:02:38 +0000 |
commit | 99909219ccd1d2978b2456ebdcda88b270f8b3ca (patch) | |
tree | 94b6b900bc15691a0baeb0b16f4ef1d618af0dd6 /mk/bsd.pkg.mk | |
parent | bfcdc04fd8a736d6ad0683825aa59de2224c4510 (diff) | |
download | pkgsrc-99909219ccd1d2978b2456ebdcda88b270f8b3ca.tar.gz |
Automatically add any of the {CONF,SUPPORT}_FILES and {MAKE,OWN}_DIRS stuff
to CHECK_FILES_SKIP to avoid some false positives. These directories are
created in the pre-install stage so are included in the generated file list.
The files are also added to silence some problems that may arise during
"make replace". Found by wiz@ in the gtk2 package.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index dc7c37b9b68..04d6debb96d 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1561 2005/01/14 14:36:31 jmmv Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1562 2005/01/14 18:02:38 jmmv Exp $ # # This file is in the public domain. # @@ -111,17 +111,6 @@ CHECK_SHLIBS?= YES # run check-shlibs after install SHLIB_HANDLING?= YES # do automatic shared lib handling NOCLEAN?= NO # don't clean up after update -# A list of file names that will be skipped when analyzing file lists in -# the check-files target. This is useful to avoid getting errors triggered -# by changes in directories not really handled by pkgsrc. -CHECK_FILES_SKIP+= emul/linux/proc - -CHECK_FILES_SKIP_CMD= -.for name in ${CHECK_FILES_SKIP} -CHECK_FILES_SKIP_CMD+= | ${GREP} -v ${name} -.endfor -.undef name - PKGBASE?= ${PKGNAME:C/-[^-]*$//} PKGVERSION?= ${PKGNAME:C/^.*-//} PKGWILDCARD?= ${PKGBASE}-[0-9]* @@ -819,6 +808,17 @@ MESSAGE_SUBST+= PKGNAME=${PKGNAME} \ MESSAGE_SUBST_SED= ${MESSAGE_SUBST:S/=/}!/:S/$/!g/:S/^/ -e s!\\\${/} .endif +# A list of file names that will be skipped when analyzing file lists in +# the check-files target. This is useful to avoid getting errors triggered +# by changes in directories not really handled by pkgsrc. +CHECK_FILES_SKIP+= emul/linux/proc + +CHECK_FILES_SKIP_CMD= +.for name in ${CHECK_FILES_SKIP} +CHECK_FILES_SKIP_CMD+= | ${GREP} -v ${name} +.endfor +.undef name + # If pkgsrc is supposed to ensure that tests are run before installation # of the package, then the build targets should be "build test", otherwise # just "build" suffices. _PKGSRC_BUILD_TARGETS is used in the "all", |