EAPI=5; minor tidying
authorMichael Sterrett <mr_bones_@gentoo.org>
Fri, 18 Dec 2015 09:05:56 +0000 (04:05 -0500)
committerMichael Sterrett <mr_bones_@gentoo.org>
Fri, 18 Dec 2015 09:05:56 +0000 (04:05 -0500)
Package-Manager: portage-2.2.24

games-action/bomberclone/bomberclone-0.11.8.ebuild

index 82e3062599433bb8a8d76887a6b2a257fb1a4d0c..b9539b71d44f47958a007cd68031da3e9c99d82e 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils autotools games
 
 DESCRIPTION="BomberMan clone with network game support"
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="amd64 ~mips ppc ppc64 x86"
 IUSE="X"
 
-DEPEND=">=media-libs/libsdl-1.1.0
+DEPEND=">=media-libs/libsdl-1.1.0[video]
        media-libs/sdl-image[png]
        media-libs/sdl-mixer[mod]
        X? ( x11-libs/libXt )"
@@ -24,6 +24,7 @@ src_prepare() {
        ecvs_clean
        epatch "${FILESDIR}"/${P}-underlink.patch \
                "${FILESDIR}"/${P}-gcc52.patch
+       mv configure.{in,ac} || die
        eautoreconf
 }
 
@@ -33,8 +34,7 @@ src_configure() {
                --datadir="${GAMES_DATADIR_BASE}"
        sed -i \
                -e "/PACKAGE_DATA_DIR/ s:/usr/games/share/games/:${GAMES_DATADIR}/:" \
-               config.h \
-               || die
+               config.h || die
 }
 
 src_install() {