Skip to content

Commit

Permalink
games-arcade/performous: fix building with USE=tools by further commi…
Browse files Browse the repository at this point in the history
…ting to use the system-cmake-find-zlib module

Package-Manager: portage-2.2.28
  • Loading branch information
Michael Sterrett committed May 16, 2016
1 parent 153cfed commit 00742e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion games-arcade/performous/performous-1.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ src_prepare() {
sed -i \
-e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \
-e '/ Z /s/ Z / ZLIB /' \
-e 's/Z_FOUND/ZLIB_FOUND/g' \
-e 's/Z_LIBRARIES/ZLIB_LIBRARIES/g' \
-e 's/Jpeg/JPEG/' \
-e 's/Png/PNG/' \
game/CMakeLists.txt || die
{game,tools}/CMakeLists.txt || die

strip-linguas -u lang
}
Expand Down
6 changes: 4 additions & 2 deletions games-arcade/performous/performous-1.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@ src_prepare() {
"${FILESDIR}"/${P}-linguas.patch
sed -i \
-e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \
-e '/ Z /s/ Z / ZLIB /' \
-e '/ Z /s/ Z/ ZLIB/g' \
-e 's/Z_FOUND/ZLIB_FOUND/g' \
-e 's/Z_LIBRARIES/ZLIB_LIBRARIES/g' \
-e 's/Jpeg/JPEG/' \
-e 's/Png/PNG/' \
game/CMakeLists.txt || die
{game,tools}/CMakeLists.txt || die

strip-linguas -u lang
}
Expand Down

0 comments on commit 00742e7

Please sign in to comment.