diff options
author | grant <grant@pkgsrc.org> | 2002-09-20 00:45:00 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2002-09-20 00:45:00 +0000 |
commit | 3af39f4e3c185a70a03e156e3999300c9d5480d2 (patch) | |
tree | 483a630946ec8d01021b0bdb9765296b6d9be2e5 /mk | |
parent | 7ba89647719dab4b80bcf06fa136372931e1a501 (diff) | |
download | pkgsrc-3af39f4e3c185a70a03e156e3999300c9d5480d2.tar.gz |
Add RCD_SCRIPTS_SHELL to automatic rc.d script handling, defaulting to
${SH}. Enables rc.d script portability for non-NetBSD systems.
as discussed with jlam.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.install.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.install.mk b/mk/bsd.pkg.install.mk index 67ec1bdc45d..8525d6bc51f 100644 --- a/mk/bsd.pkg.install.mk +++ b/mk/bsd.pkg.install.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.install.mk,v 1.27 2002/09/19 10:20:50 jlam Exp $ +# $NetBSD: bsd.pkg.install.mk,v 1.28 2002/09/20 00:45:00 grant Exp $ # # This Makefile fragment is included by package Makefiles to use the common # INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply: @@ -134,6 +134,7 @@ RCD_SCRIPTS?= # empty RCD_SCRIPTS_MODE?= 0755 RCD_SCRIPTS_DIR?= /etc/rc.d RCD_SCRIPTS_EXAMPLEDIR?= ${PREFIX}/etc/rc.d +RCD_SCRIPTS_SHELL?= ${SH} FILES_SUBST+= CONF_FILES=${CONF_FILES:Q} FILES_SUBST+= CONF_FILES_MODE=${CONF_FILES_MODE} FILES_SUBST+= CONF_FILES_PERMS=${CONF_FILES_PERMS:Q} @@ -144,6 +145,7 @@ FILES_SUBST+= RCD_SCRIPTS=${RCD_SCRIPTS:Q} FILES_SUBST+= RCD_SCRIPTS_MODE=${RCD_SCRIPTS_MODE} FILES_SUBST+= RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR} FILES_SUBST+= RCD_SCRIPTS_EXAMPLEDIR=${RCD_SCRIPTS_EXAMPLEDIR} +FILES_SUBST+= RCD_SCRIPTS_SHELL=${RCD_SCRIPTS_SHELL} # OWN_DIRS contains a list of directories for this package that should be # created and should attempt to be destroyed by the INSTALL/DEINSTALL |