commit:     1de027a4a4a91be59bf59c46b84570cebbf5d50d
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon May  6 20:38:38 2019 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon May  6 20:38:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1de027a4

app-arch/p7zip: fix broken sed to use pipes

Fixes: https://bugs.gentoo.org/685166
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 app-arch/p7zip/p7zip-16.02-r4.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/app-arch/p7zip/p7zip-16.02-r4.ebuild 
b/app-arch/p7zip/p7zip-16.02-r4.ebuild
index dc858bf58b8..e71c79f0fb0 100644
--- a/app-arch/p7zip/p7zip-16.02-r4.ebuild
+++ b/app-arch/p7zip/p7zip-16.02-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -44,11 +44,11 @@ src_prepare() {
        fi
 
        sed \
-               -e 's:-m32 ::g' \
-               -e 's:-m64 ::g' \
-               -e 's:-pipe::g' \
-               -e '/ALLFLAGS/s:-s ::' \
-               -e "/OPTFLAGS=/s:=.*:=${CXXFLAGS}:" \
+               -e 's|-m32 ||g' \
+               -e 's|-m64 ||g' \
+               -e 's|-pipe||g' \
+               -e '/ALLFLAGS/s|-s ||' \
+               -e "/OPTFLAGS=/s|=.*|=${CXXFLAGS}|" \
                -i makefile* || die
 
        # remove non-free RAR codec

Reply via email to