summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-03-04 19:08:08 -0600
committerWilliam Hubbs <williamh@gentoo.org>2011-03-05 00:04:06 -0600
commit3fca6bd0278bc2a21fdd72c3bf20220e81b2eab5 (patch)
tree875b63c5d1c7500e8f3ecc389e86caa5827c97b9 /mk
parent202fa20cbca2895f29f533e7b908544bcc0248f3 (diff)
downloadopenrc-3fca6bd0278bc2a21fdd72c3bf20220e81b2eab5.tar.gz
openrc-3fca6bd0278bc2a21fdd72c3bf20220e81b2eab5.tar.bz2
openrc-3fca6bd0278bc2a21fdd72c3bf20220e81b2eab5.tar.xz
allow default rc_sys value to be set at build time
This allows the default value of rc_sys to be set when openrc is compiled. This will allow openrc to be installed, e.g. on vserver guests and will allow them to be rebooted without the need to edit rc.conf. This patch is a combined effort between myself and Robin Johnson. X-Gentoo-Bug: 357247 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=357247
Diffstat (limited to 'mk')
-rw-r--r--mk/scripts.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/scripts.mk b/mk/scripts.mk
index 3517aab..c45fed1 100644
--- a/mk/scripts.mk
+++ b/mk/scripts.mk
@@ -12,7 +12,7 @@ _PKG_SED:= $(shell ${_PKG_SED_SH})
_LCL_SED_SH= if test "${PREFIX}" = "${LOCAL_PREFIX}"; then echo "-e 's:@LOCAL_PREFIX@::g'"; else echo "-e 's:@LOCAL_PREFIX@:${LOCAL_PREFIX}:g'"; fi
_LCL_SED:= $(shell ${_LCL_SED_SH})
-SED_REPLACE= -e 's:@SHELL@:${SH}:g' -e 's:@LIB@:${LIBNAME}:g' -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' -e 's:@LIBEXECDIR@:${LIBEXECDIR}:g' -e 's:@PREFIX@:${PREFIX}:g' ${_PKG_SED} ${_LCL_SED}
+SED_REPLACE= -e 's:@SHELL@:${SH}:g' -e 's:@LIB@:${LIBNAME}:g' -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' -e 's:@LIBEXECDIR@:${LIBEXECDIR}:g' -e 's:@PREFIX@:${PREFIX}:g' -e 's:@RC_SYS_DEFAULT@:${MKRCSYS}:g' ${_PKG_SED} ${_LCL_SED}
# Tweak our shell scripts
.SUFFIXES: .sh.in .in