summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild')
-rw-r--r--games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild b/games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild
index cc3a64811f1f..cfc0b290bca1 100644
--- a/games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild
+++ b/games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -50,7 +50,10 @@ src_prepare() {
default
sed -i \
- -e 's/-O2 -Wall -Werror -ansi -pedantic -g//' \
+ -e 's|-Werror||g' \
+ configure.ac || die
+ sed -i \
+ -e 's/-O2 -Wall .* -g/-Wall/' \
-e "s/libstr =/libstr = '\$(LDFLAGS) ' ./" \
mkfiles.pl || die
./mkfiles.pl || die