diff -ru a/barrage-1.0.2-r1.ebuild b/barrage-1.0.2-r1.ebuild --- a/barrage-1.0.2-r1.ebuild 2008-06-29 12:37:26.000000000 +0000 +++ b/barrage-1.0.2-r1.ebuild 2010-09-18 02:14:12.876349630 +0000 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-action/barrage/barrage-1.0.2-r1.ebuild,v 1.7 2008/06/29 12:34:22 bluebird Exp $ +EAPI="2" + inherit eutils games DESCRIPTION="A violent point-and-click shooting game" @@ -21,9 +23,14 @@ unpack ${P}.tar.gz } -src_compile() { +src_prepare() { + sed -i \ + -e 's/name\[20\]/name[24]/' \ + src/menu.h || die +} + +src_configure() { egamesconf --datadir="${GAMES_DATADIR_BASE}" || die - emake || die "emake failed" } src_install() {