summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.install.mk
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-23 17:43:16 +0000
committerjlam <jlam>2002-10-23 17:43:16 +0000
commitfbe5f38c5630b86dcf6fb4f6738508d04d85dee1 (patch)
treef50ee55eea5087409603d611c9724b6396fe1bbc /mk/bsd.pkg.install.mk
parentcb95b775cf49738c2d5abbfdfd9a428071ef6606 (diff)
downloadpkgsrc-fbe5f38c5630b86dcf6fb4f6738508d04d85dee1.tar.gz
Unless PKG_RCD_SCRIPTS=YES and RCD_SCRIPTS is non-empty, don't create
${RCD_SCRIPTS_DIR} as it's not used at all.
Diffstat (limited to 'mk/bsd.pkg.install.mk')
-rw-r--r--mk/bsd.pkg.install.mk9
1 files changed, 3 insertions, 6 deletions
diff --git a/mk/bsd.pkg.install.mk b/mk/bsd.pkg.install.mk
index 8fe72f05cac..69a4a125784 100644
--- a/mk/bsd.pkg.install.mk
+++ b/mk/bsd.pkg.install.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.install.mk,v 1.37 2002/10/23 01:16:41 jlam Exp $
+# $NetBSD: bsd.pkg.install.mk,v 1.38 2002/10/23 17:43:16 jlam Exp $
#
# This Makefile fragment is included by package Makefiles to use the common
# INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply:
@@ -170,8 +170,8 @@ MESSAGE_SUBST+= RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR}
# created and should attempt to be destroyed by the INSTALL/DEINSTALL
# scripts. MAKE_DIRS is used the same way, but the package admin
# isn't prompted to remove the directory at post-deinstall time if it
-# isn't empty. For convenience, ${PKG_SYSCONFDIR} and
-# ${RCD_SCRIPTS_DIR} are automatically added to MAKE_DIRS.
+# isn't empty. For convenience, ${PKG_SYSCONFDIR} is automatically
+# added to MAKE_DIRS.
#
# OWN_DIRS_PERMS contains a list of "directory owner group mode" sublists
# representing directories for this package that should be
@@ -182,9 +182,6 @@ MESSAGE_SUBST+= RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR}
MAKE_DIRS?= # empty
MAKE_DIRS_PERMS?= # empty
_MAKE_DIRS= ${PKG_SYSCONFDIR} ${MAKE_DIRS}
-.if !empty(RCD_SCRIPTS)
-_MAKE_DIRS+= ${RCD_SCRIPTS_DIR}
-.endif
OWN_DIRS?= # empty
OWN_DIRS_PERMS?= # empty
FILES_SUBST+= MAKE_DIRS=${_MAKE_DIRS:Q}