diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-02-18 17:17:43 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-02-18 17:18:17 +0100 |
commit | 5298548230002f61f280ee6ec374ca06537d7fb6 (patch) | |
tree | 6e54704de8b960966d40766ed0f929e3aa0ad827 /sys-apps/sysvinit | |
parent | dev-python/pypy3-bin: Require glibc-2.28 (diff) | |
download | gentoo-5298548230002f61f280ee6ec374ca06537d7fb6.tar.gz gentoo-5298548230002f61f280ee6ec374ca06537d7fb6.tar.bz2 gentoo-5298548230002f61f280ee6ec374ca06537d7fb6.zip |
sys-apps/sysvinit: Use separate sed command for logsave removal.
Package-Manager: Portage-2.3.61, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/sysvinit')
-rw-r--r-- | sys-apps/sysvinit/sysvinit-2.94_beta.ebuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys-apps/sysvinit/sysvinit-2.94_beta.ebuild b/sys-apps/sysvinit/sysvinit-2.94_beta.ebuild index c79dc75f1d49..bb9842d5c6a9 100644 --- a/sys-apps/sysvinit/sysvinit-2.94_beta.ebuild +++ b/sys-apps/sysvinit/sysvinit-2.94_beta.ebuild @@ -39,10 +39,9 @@ src_prepare() { sed -i '/^CPPFLAGS =$/d' src/Makefile || die # last/lastb/mesg/mountpoint/sulogin/utmpdump/wall have moved to util-linux - # logsave is already in e2fsprogs sed -i -r \ - -e '/^(USR)?S?BIN/s:\<(last|lastb|logsave|mesg|mountpoint|sulogin|utmpdump|wall)\>::g' \ - -e '/^MAN[18]/s:\<(last|lastb|logsave|mesg|mountpoint|sulogin|utmpdump|wall)[.][18]\>::g' \ + -e '/^(USR)?S?BIN/s:\<(last|lastb|mesg|mountpoint|sulogin|utmpdump|wall)\>::g' \ + -e '/^MAN[18]/s:\<(last|lastb|mesg|mountpoint|sulogin|utmpdump|wall)[.][18]\>::g' \ src/Makefile || die # pidof has moved to >=procps-3.3.9 @@ -51,6 +50,12 @@ src_prepare() { -e '/^MAN8/s:\<pidof.8\>::g' \ src/Makefile || die + # logsave is already in e2fsprogs + sed -i -r \ + -e '/^(USR)?S?BIN/s:\<logsave\>::g' \ + -e '/^MAN8/s:\<logsave.8\>::g' \ + src/Makefile || die + # Mung inittab for specific architectures cd "${WORKDIR}" || die cp "${FILESDIR}"/inittab-2.91 inittab || die "cp inittab" |