diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2012-08-08 15:00:01 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2012-08-08 15:00:01 +0000 |
commit | fa188d112957f4942f9fac5d371150d1383f2941 (patch) | |
tree | 96b354ae2e793bfc8ffdf81264dd00783ab6146d /games-action | |
parent | Stable (diff) | |
download | gentoo-2-fa188d112957f4942f9fac5d371150d1383f2941.tar.gz gentoo-2-fa188d112957f4942f9fac5d371150d1383f2941.tar.bz2 gentoo-2-fa188d112957f4942f9fac5d371150d1383f2941.zip |
respect CFLAGS (bug #430440)
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/powermanga/ChangeLog | 5 | ||||
-rw-r--r-- | games-action/powermanga/powermanga-0.90.ebuild | 17 |
2 files changed, 13 insertions, 9 deletions
diff --git a/games-action/powermanga/ChangeLog b/games-action/powermanga/ChangeLog index 87fc5dc18466..dbd8e3eb33c3 100644 --- a/games-action/powermanga/ChangeLog +++ b/games-action/powermanga/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-action/powermanga # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/ChangeLog,v 1.22 2012/08/03 04:25:58 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/ChangeLog,v 1.23 2012/08/08 15:00:01 mr_bones_ Exp $ + + 08 Aug 2012; Michael Sterrett <mr_bones_@gentoo.org> powermanga-0.90.ebuild: + respect CFLAGS (bug #430440) 03 Aug 2012; Michael Sterrett <mr_bones_@gentoo.org> +files/powermanga-0.90-segfault.patch, powermanga-0.90.ebuild: diff --git a/games-action/powermanga/powermanga-0.90.ebuild b/games-action/powermanga/powermanga-0.90.ebuild index 0f40e24c50b8..cce687c447b7 100644 --- a/games-action/powermanga/powermanga-0.90.ebuild +++ b/games-action/powermanga/powermanga-0.90.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/powermanga-0.90.ebuild,v 1.11 2012/08/03 04:25:58 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/powermanga-0.90.ebuild,v 1.12 2012/08/08 15:00:01 mr_bones_ Exp $ EAPI=2 inherit eutils autotools games @@ -21,8 +21,9 @@ DEPEND=">=media-libs/libsdl-1.2[audio,joystick,video] media-libs/sdl-mixer[mikmod]" src_prepare() { - sed -i -e "/null/d" graphics/Makefile.in || die "sed failed" - sed -i -e "/zozo/d" texts/text_en.txt || die "sed failed" + sed -i -e "/null/d" graphics/Makefile.in || die + sed -i -e "/zozo/d" texts/text_en.txt || die + sed -i -e '/^CFLAGS=/s/-O3 -Wall/${CFLAGS}/' configure.ac || die local f for f in src/assembler.S src/assembler_opt.S ; do einfo "patching $f" @@ -39,24 +40,24 @@ src_prepare() { } src_configure() { - egamesconf --prefix=/usr || die "egamesconf failed" + egamesconf --prefix=/usr || die } src_install() { - dogamesbin powermanga || die "dogamesbin failed" + dogamesbin powermanga || die doman powermanga.6 dodoc AUTHORS CHANGES README insinto "${GAMES_DATADIR}/powermanga" - doins -r data sounds graphics texts || die "doins failed" + doins -r data sounds graphics texts || die find "${D}${GAMES_DATADIR}/powermanga/" -name "Makefil*" -exec rm -f \{\} + insinto /var/games local f for f in powermanga.hi-easy powermanga.hi powermanga.hi-hard ; do - touch "${D}/var/games/${f}" || die "touch ${f} failed" - fperms 660 "/var/games/${f}" || die "fperms ${f} failed" + touch "${D}/var/games/${f}" || die + fperms 660 "/var/games/${f}" || die done make_desktop_entry powermanga Powermanga |