summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.install.mk
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-01-15 10:50:17 +0000
committerjmmv <jmmv@pkgsrc.org>2005-01-15 10:50:17 +0000
commitaf92a2b644ef96b5262c55fd540e2f97017db593 (patch)
treefa7637a4c3c7616a57db9396affbe70b37f8c097 /mk/bsd.pkg.install.mk
parentb1f71f7847324968700850d8d3e7310eb60cdf9d (diff)
downloadpkgsrc-af92a2b644ef96b5262c55fd540e2f97017db593.tar.gz
- Move all CHECK_FILES_SKIP definitions to a central place in bsd.pkg.mk.
- Move the previous block of code down in the file so that all used variables are defined (specially PKG_SYSCONFDIR). Fixes a problem noticed by kristerw@'s bulk build in comms/minicom. - Ignore diff's return code, which aborts make in NetBSD 1.6.2. Also noticed by kristerw@'s bulk build. - Use full paths to do the checks, instead of relative to ${PREFIX}. Less ambiguity. Matches should be turned into regular expressions that anchor to a whole line (tried that, but found some problems). - Turn CHECK_FILES to NO by default. As said in the previous point, there are still some problems that have to be fixed and minor improvements to be done. And I have no time to fix this ATM. Yes, this definitely needs more testing. I'm sorry for all the noise. (But hey! you should set and try this feature locally! ;-)
Diffstat (limited to 'mk/bsd.pkg.install.mk')
-rw-r--r--mk/bsd.pkg.install.mk22
1 files changed, 1 insertions, 21 deletions
diff --git a/mk/bsd.pkg.install.mk b/mk/bsd.pkg.install.mk
index 54b7aed3d1b..80b9a874a85 100644
--- a/mk/bsd.pkg.install.mk
+++ b/mk/bsd.pkg.install.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.install.mk,v 1.68 2005/01/14 18:02:38 jmmv Exp $
+# $NetBSD: bsd.pkg.install.mk,v 1.69 2005/01/15 10:50:17 jmmv Exp $
#
# This Makefile fragment is included by bsd.pkg.mk to use the common
# INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply:
@@ -190,16 +190,6 @@ FILES_SUBST+= RCD_SCRIPTS_SHELL=${RCD_SCRIPTS_SHELL}
MESSAGE_SUBST+= RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR}
MESSAGE_SUBST+= RCD_SCRIPTS_EXAMPLEDIR=${RCD_SCRIPTS_EXAMPLEDIR}
-.if defined(PKG_DEVELOPER) && ${CHECK_FILES} == "YES"
-. for e c in ${CONF_FILES} ${SUPPORT_FILES}
-CHECK_FILES_SKIP+= ${c:S/${PREFIX}\///}/.pkgsrc
-. endfor
-. for e c u g m in ${CONF_FILES_PERMS} ${SUPPORT_FILES_PERMS}
-CHECK_FILES_SKIP+= ${c:S/${PREFIX}\///}/.pkgsrc
-. endfor
-. undef e c u g m
-.endif
-
# OWN_DIRS contains a list of directories for this package that should be
# created and should attempt to be destroyed by the INSTALL/DEINSTALL
# scripts. MAKE_DIRS is used the same way, but the package admin
@@ -221,16 +211,6 @@ FILES_SUBST+= MAKE_DIRS_PERMS=${MAKE_DIRS_PERMS:Q}
FILES_SUBST+= OWN_DIRS=${OWN_DIRS:Q}
FILES_SUBST+= OWN_DIRS_PERMS=${OWN_DIRS_PERMS:Q}
-.if defined(PKG_DEVELOPER) && ${CHECK_FILES} == "YES"
-. for d in ${MAKE_DIRS} ${OWN_DIRS}
-CHECK_FILES_SKIP+= ${d:S/${PREFIX}\///}
-. endfor
-. for d o g m in ${MAKE_DIRS_PERMS} ${OWN_DIRS_PERMS}
-CHECK_FILES_SKIP+= ${d:S/${PREFIX}\///}
-. endfor
-. undef d o g m
-.endif
-
# PKG_CREATE_USERGROUP indicates whether the INSTALL script should
# automatically add any needed users/groups to the system using
# useradd/groupadd. It is either YES or NO and defaults to YES.