Package-Manager: portage-2.2.24
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+EAPI=5
inherit eutils games
DESCRIPTION="Bomberman clone w/multiplayer support"
IUSE=""
DEPEND="x11-libs/libX11"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
src_prepare() {
sed -i \
-e "/^CC/d" \
-e 's/gcc/$(CC)/g' \
-e "s:X386:X11R6:" \
- Makefile \
- || die "sed failed"
+ Makefile || die
sed -i \
- -e "s:data/%s:${GAMES_DATADIR}/${PN}/%s:" bomber.c \
- || die "sed failed"
+ -e "s:data/%s:${GAMES_DATADIR}/${PN}/%s:" bomber.c || die
sed -i \
- -e "s:=\"data\":=\"${GAMES_DATADIR}/${PN}\":" sound.c \
- || die "sed failed"
+ -e "s:=\"data\":=\"${GAMES_DATADIR}/${PN}\":" sound.c || die
epatch \
"${FILESDIR}"/${P}-va_list.patch \
"${FILESDIR}"/${P}-gcc4.patch \