diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-23 17:43:16 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-23 17:43:16 +0000 |
commit | 416feb0be7700c089f85e540898f56701aa47b84 (patch) | |
tree | f50ee55eea5087409603d611c9724b6396fe1bbc /mk/bsd.pkg.install.mk | |
parent | 2eaf9ff4e32219824edeb3a19182d5ecb8fe275e (diff) | |
download | pkgsrc-416feb0be7700c089f85e540898f56701aa47b84.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.mk | 9 |
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} |