From 84a277fe3bdf91b14eccd0a1621c034a7de6f545 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Fri, 21 Feb 2020 21:30:17 +0300 Subject: [PATCH] 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 --- mail-filter/procmail/procmail-3.22-r14.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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)" -- 2.26.2