commit:     41a1662f1d1172473926de973f8509e1c17cbfeb
Author:     Hanno Böck <hanno <AT> gentoo <DOT> org>
AuthorDate: Sat May  9 10:40:55 2020 +0000
Commit:     Hanno Böck <hanno <AT> gentoo <DOT> org>
CommitDate: Sat May  9 10:40:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a1662f

games-simulation/micropolis: Use safer sed delimiter

Closes: https://bugs.gentoo.org/710964
Signed-off-by: Hanno Böck <hanno <AT> gentoo.org>
Package-Manager: Portage-2.3.99, Repoman-2.3.22

 games-simulation/micropolis/micropolis-1.0_p20180313.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-simulation/micropolis/micropolis-1.0_p20180313.ebuild 
b/games-simulation/micropolis/micropolis-1.0_p20180313.ebuild
index c1c8bfccece..9b54f5d5058 100644
--- a/games-simulation/micropolis/micropolis-1.0_p20180313.ebuild
+++ b/games-simulation/micropolis/micropolis-1.0_p20180313.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -27,9 +27,9 @@ S="${WORKDIR}/${PN}-${COMMIT}"
 src_prepare() {
        default
 
-       sed -i -e "s:-O3:${CFLAGS}:" \
+       sed -i -e "s|-O3|${CFLAGS}|" \
                src/tclx/config.mk src/{sim,tcl,tk}/makefile || die
-       sed -i -e "s:XLDFLAGS=:&${LDFLAGS}:" \
+       sed -i -e "s|XLDFLAGS=|&${LDFLAGS}|" \
                src/tclx/config.mk || die
 }
 

Reply via email to