diff options
author | jlam <jlam@pkgsrc.org> | 2005-09-30 16:39:26 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-09-30 16:39:26 +0000 |
commit | ab5ad91e2308ed5506b0fd966e42f3b1c6c9f4d3 (patch) | |
tree | ced672d40346ced1fbedc667a61b5d8cc5567b7d /mk | |
parent | a37c7392fef33796b1a7c79280513207aeabab5e (diff) | |
download | pkgsrc-ab5ad91e2308ed5506b0fd966e42f3b1c6c9f4d3.tar.gz |
Fix a typo... missing a : before the Q variable qualifier, which caused
${PKG_SYSCONFDIR} to not be automatically creates/refcounted by the
+DIRS script for packages that only set CONF_FILES_PERMS and not
CONF_FILES or PKG_SYSCONFSUBDIR, e.g. security/sudo. This caused
problems when PKG_SYSCONFBASE was set to a non-default directory that
didn't pre-exist, e.g. PKG_SYSCONFBASE=/etc/pkg. Problem noted by
<jmmv>.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/install/bsd.pkginstall.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/install/bsd.pkginstall.mk b/mk/install/bsd.pkginstall.mk index 219381e4573..02ac0d0e26d 100644 --- a/mk/install/bsd.pkginstall.mk +++ b/mk/install/bsd.pkginstall.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkginstall.mk,v 1.27 2005/09/26 22:12:35 jlam Exp $ +# $NetBSD: bsd.pkginstall.mk,v 1.28 2005/09/30 16:39:26 jlam Exp $ # # This Makefile fragment is included by bsd.pkg.mk to use the common # INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply: @@ -434,7 +434,7 @@ ${INSTALL_DIRS_FILE}: ../../mk/install/dirs ${ECHO} "" ${_PKG_SILENT}${_PKG_DEBUG} \ exec 1>>${.TARGET}.tmp; \ - case ${PKG_SYSCONFSUBDIR:M*:Q}${CONF_FILES:M*:Q}${CONF_FILES_PERMS:M*Q}"" in \ + case ${PKG_SYSCONFSUBDIR:M*:Q}${CONF_FILES:M*:Q}${CONF_FILES_PERMS:M*:Q}"" in \ "") ;; \ *) ${ECHO} "# DIR: ${PKG_SYSCONFDIR:S/${PREFIX}\///} m" ;; \ esac; \ |