Skip to content

Commit

Permalink
games-simulation/micropolis: Use safer sed delimiter
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/710964
Signed-off-by: Hanno Böck <[email protected]>
Package-Manager: Portage-2.3.99, Repoman-2.3.22
  • Loading branch information
hannob committed May 9, 2020
1 parent f15a151 commit 41a1662
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions games-simulation/micropolis/micropolis-1.0_p20180313.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 41a1662

Please sign in to comment.