summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.install.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-01-28 08:17:53 +0000
committerjlam <jlam@pkgsrc.org>2005-01-28 08:17:53 +0000
commitb474d00694e0bb940219c5e2bb12334f744894ac (patch)
tree7a7586f697165449ff6b5cdef41158c9db55a82d /mk/bsd.pkg.install.mk
parent0d547bd690f7cfba8e972cfd74255fa55ed98590 (diff)
downloadpkgsrc-b474d00694e0bb940219c5e2bb12334f744894ac.tar.gz
If PKG_SYSCONFSUBDIR is non-empty, then add ${PKG_SYSCONFDIR} to the
list of +DIRS-maintained directories. This allows for a package to specify where its config files should go and creates the directory automatically, even if it doesn't have any example config files to put in place.
Diffstat (limited to 'mk/bsd.pkg.install.mk')
-rw-r--r--mk/bsd.pkg.install.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.install.mk b/mk/bsd.pkg.install.mk
index 4efdb0a5f9d..064e4888c2d 100644
--- a/mk/bsd.pkg.install.mk
+++ b/mk/bsd.pkg.install.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.install.mk,v 1.75 2005/01/28 07:39:13 jlam Exp $
+# $NetBSD: bsd.pkg.install.mk,v 1.76 2005/01/28 08:17:53 jlam Exp $
#
# This Makefile fragment is included by bsd.pkg.mk to use the common
# INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply:
@@ -265,7 +265,7 @@ ${INSTALL_DIRS_FILE}: ../../mk/install/dirs
${ECHO} " \$${CAT} > ./+DIRS << 'EOF_DIRS'"; \
${SED} ${FILES_SUBST_SED} ../../mk/install/dirs; \
${ECHO} ""; \
- case "${CONF_FILES}${CONF_FILES_PERMS}${SUPPORT_FILES}${SUPPORT_FILES_PERMS}" in \
+ case "${PKG_SYSCONFSUBDIR}${CONF_FILES}${CONF_FILES_PERMS}${SUPPORT_FILES}${SUPPORT_FILES_PERMS}" in \
"") ;; \
*) ${ECHO} "# DIR: ${PKG_SYSCONFDIR} m" ;; \
esac; \