From: Hanno Böck Date: Sat, 9 May 2020 10:40:55 +0000 (+0200) Subject: games-simulation/micropolis: Use safer sed delimiter X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=41a1662f1d1172473926de973f8509e1c17cbfeb;p=gentoo.git games-simulation/micropolis: Use safer sed delimiter Closes: https://bugs.gentoo.org/710964 Signed-off-by: Hanno Böck Package-Manager: Portage-2.3.99, Repoman-2.3.22 --- diff --git a/games-simulation/micropolis/micropolis-1.0_p20180313.ebuild b/games-simulation/micropolis/micropolis-1.0_p20180313.ebuild index c1c8bfccecec..9b54f5d50580 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 }