pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Move RCD_SCRIPTS_DIR definition to bsd.pkg.defaults...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cf0a5af9b3bb
branches:  trunk
changeset: 460892:cf0a5af9b3bb
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Sep 06 11:51:16 2003 +0000

description:
Move RCD_SCRIPTS_DIR definition to bsd.pkg.defaults.mk.  This implies that
RCD_SCRIPTS_DIR is user-settable in /etc/mk.conf.

diffstat:

 mk/bsd.pkg.defaults.mk |  8 +++++++-
 mk/bsd.pkg.install.mk  |  3 +--
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 7852012b291c -r cf0a5af9b3bb mk/bsd.pkg.defaults.mk
--- a/mk/bsd.pkg.defaults.mk    Sat Sep 06 11:43:55 2003 +0000
+++ b/mk/bsd.pkg.defaults.mk    Sat Sep 06 11:51:16 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.179 2003/09/06 11:39:29 jlam Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.180 2003/09/06 11:51:17 jlam Exp $
 #
 
 # A file providing defaults for pkgsrc and the packages collection.
@@ -169,6 +169,12 @@
 # Possible: any path you like
 # Default: ${PREFIX}/etc
 
+RCD_SCRIPTS_DIR?= /etc/rc.d
+# This is the system rc.d script directory in which all rc.d scripts
+# expected to be executed at boot-time should be found.
+# Possible: any path you like
+# Default: /etc/rc.d
+
 PACKAGES?=       ${_PKGSRCDIR}/packages
 # Store generated packages on a per-architecture base
 # Possible: any path you like
diff -r 7852012b291c -r cf0a5af9b3bb mk/bsd.pkg.install.mk
--- a/mk/bsd.pkg.install.mk     Sat Sep 06 11:43:55 2003 +0000
+++ b/mk/bsd.pkg.install.mk     Sat Sep 06 11:51:16 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.install.mk,v 1.49 2003/09/06 11:43:55 jlam Exp $
+# $NetBSD: bsd.pkg.install.mk,v 1.50 2003/09/06 11:51:16 jlam Exp $
 #
 # This Makefile fragment is included by package Makefiles to use the common
 # INSTALL/DEINSTALL scripts.  To use this Makefile fragment, simply:
@@ -152,7 +152,6 @@
 SUPPORT_FILES_PERMS?=  # empty
 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}



Home | Main Index | Thread Index | Old Index