pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk If PKG_SYSCONFSUBDIR is non-empty, then add ${PKG_S...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3843833da3ce
branches:  trunk
changeset: 488333:3843833da3ce
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Jan 28 08:17:53 2005 +0000

description:
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:

 mk/bsd.pkg.install.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r efe30b62b8c7 -r 3843833da3ce mk/bsd.pkg.install.mk
--- a/mk/bsd.pkg.install.mk     Fri Jan 28 07:39:13 2005 +0000
+++ b/mk/bsd.pkg.install.mk     Fri Jan 28 08:17:53 2005 +0000
@@ -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 @@
        ${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;                                                           \



Home | Main Index | Thread Index | Old Index