From: Mikle Kolyada Date: Fri, 21 Feb 2020 18:30:17 +0000 (+0300) Subject: mail-filter/procmail: replace sed separators X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=84a277fe3bdf91b14eccd0a1621c034a7de6f545;p=gentoo.git mail-filter/procmail: replace sed separators Closes: https://bugs.gentoo.org/710424 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mikle Kolyada --- diff --git a/mail-filter/procmail/procmail-3.22-r14.ebuild b/mail-filter/procmail/procmail-3.22-r14.ebuild index f8caa1c551b6..ca949f0929cb 100644 --- a/mail-filter/procmail/procmail-3.22-r14.ebuild +++ b/mail-filter/procmail/procmail-3.22-r14.ebuild @@ -21,7 +21,7 @@ src_prepare() { # disable flock, using both fcntl and flock style locking # doesn't work with NFS with 2.6.17+ kernels, bug #156493 - sed -e "s:/\*#define NO_flock_LOCK:#define NO_flock_LOCK:" \ + sed -e "s|/\*#define NO_flock_LOCK|#define NO_flock_LOCK|" \ -i config.h || die "sed failed" if ! use mbox ; then @@ -74,10 +74,10 @@ src_compile() { "gcc"|*) append-flags -fno-inline-functions -fno-ipa-cp-clone ;; esac - sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS}:" \ - -e "s:LDFLAGS0= -s:LDFLAGS0 = ${LDFLAGS}:" \ - -e "s:LOCKINGTEST=__defaults__:#LOCKINGTEST=__defaults__:" \ - -e "s:#LOCKINGTEST=/tmp:LOCKINGTEST=/tmp:" \ + sed -e "s|CFLAGS0 = -O|CFLAGS0 = ${CFLAGS}|" \ + -e "s|LDFLAGS0= -s|LDFLAGS0 = ${LDFLAGS}|" \ + -e "s|LOCKINGTEST=__defaults__|#LOCKINGTEST=__defaults__|" \ + -e "s|#LOCKINGTEST=/tmp|LOCKINGTEST=/tmp|" \ -i Makefile || die "sed failed" emake CC="$(tc-getCC)"