summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-02-21 21:30:17 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-02-21 21:33:21 +0300
commit84a277fe3bdf91b14eccd0a1621c034a7de6f545 (patch)
tree92a3be943dc782750f0e78d6e14614fb11daeaee /mail-filter/procmail
parentdev-python/mako: Update metadata.xml URLs (diff)
downloadgentoo-84a277fe3bdf91b14eccd0a1621c034a7de6f545.tar.gz
gentoo-84a277fe3bdf91b14eccd0a1621c034a7de6f545.tar.bz2
gentoo-84a277fe3bdf91b14eccd0a1621c034a7de6f545.zip
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 <zlogene@gentoo.org>
Diffstat (limited to 'mail-filter/procmail')
-rw-r--r--mail-filter/procmail/procmail-3.22-r14.ebuild10
1 files 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)"