diff options
author | Sam James <sam@gentoo.org> | 2021-04-10 06:07:33 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-10 07:17:50 +0100 |
commit | 28ddf447b5fa1c6c8218f3d41fc452b31dc66421 (patch) | |
tree | b6023eefc720078d6726a15ad02116fcd5c701cf | |
parent | profiles/package.mask: remove dev-ruby/* masks for removed packages (diff) | |
download | gentoo-28ddf447b5fa1c6c8218f3d41fc452b31dc66421.tar.gz gentoo-28ddf447b5fa1c6c8218f3d41fc452b31dc66421.tar.bz2 gentoo-28ddf447b5fa1c6c8218f3d41fc452b31dc66421.zip |
games-arcade/gunocide2ex: add missing desktop inherit, fix games.eclass ref
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | games-arcade/gunocide2ex/gunocide2ex-1.0-r2.ebuild (renamed from games-arcade/gunocide2ex/gunocide2ex-1.0-r1.ebuild) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games-arcade/gunocide2ex/gunocide2ex-1.0-r1.ebuild b/games-arcade/gunocide2ex/gunocide2ex-1.0-r2.ebuild index 799ac5e46304..920de2e8b41e 100644 --- a/games-arcade/gunocide2ex/gunocide2ex-1.0-r1.ebuild +++ b/games-arcade/gunocide2ex/gunocide2ex-1.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit edos2unix toolchain-funcs unpacker +inherit desktop edos2unix toolchain-funcs unpacker DESCRIPTION="Fast-paced 2D shoot'em'up" HOMEPAGE="http://g2ex.sourceforge.net/" @@ -46,7 +46,7 @@ src_prepare() { src/*.{h,cpp} || die sed -i \ - -e "s:/usr/local/games:${GAMES_DATADIR}:" \ + -e "s:/usr/local/games:/usr/share:" \ src/*.{h,cpp} $(find gfx -name '*.txt') || die } @@ -56,7 +56,7 @@ src_compile() { tc-export CXX emake \ - CXXFLAGS="$CXXFLAGS $(sdl-config --cflags)" \ + CXXFLAGS="${CXXFLAGS} $(sdl-config --cflags)" \ $(echo *.cpp | sed 's/\.cpp/.o/g') $(tc-getCXX) ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} -o ${PN} *.o -lpthread -lSDL -lSDL_ttf -lSDL_mixer || die |