summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-10-15 08:50:20 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-10-15 08:50:20 +0000
commit6d6f8789cfb45a26bdc0cd956c6d0847613d66c7 (patch)
tree648297d06819e45110385de31dc98d23a2bd6404 /games-fps/alephone/alephone-20100424.ebuild
parentVersion bump. (diff)
downloadgentoo-2-6d6f8789cfb45a26bdc0cd956c6d0847613d66c7.tar.gz
gentoo-2-6d6f8789cfb45a26bdc0cd956c6d0847613d66c7.tar.bz2
gentoo-2-6d6f8789cfb45a26bdc0cd956c6d0847613d66c7.zip
Fix build with gcc-4.7 Bug #423037
(Portage version: 2.1.11.26/cvs/Linux i686)
Diffstat (limited to 'games-fps/alephone/alephone-20100424.ebuild')
-rw-r--r--games-fps/alephone/alephone-20100424.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/games-fps/alephone/alephone-20100424.ebuild b/games-fps/alephone/alephone-20100424.ebuild
index d1c033509c72..fd38c8fb212a 100644
--- a/games-fps/alephone/alephone-20100424.ebuild
+++ b/games-fps/alephone/alephone-20100424.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/alephone-20100424.ebuild,v 1.6 2012/06/23 04:25:39 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/alephone-20100424.ebuild,v 1.7 2012/10/15 08:50:20 tupone Exp $
-EAPI=2
+EAPI=4
inherit autotools eutils games
MY_P=AlephOne-${PV}
@@ -57,6 +57,7 @@ src_prepare() {
epatch \
"${FILESDIR}"/${P}-boost_145.patch \
+ "${FILESDIR}"/${P}-gcc47.patch \
"${FILESDIR}"/${P}-png15.patch
eautoreconf
@@ -64,7 +65,6 @@ src_prepare() {
src_configure() {
egamesconf \
- --disable-dependency-tracking \
--enable-lua \
$(use_enable alsa) \
$(use_enable mad) \
@@ -77,10 +77,9 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dogamesbin "${T}"/${PN}.sh || die "dogamesbin failed"
+ default
+ dogamesbin "${T}"/${PN}.sh
doman docs/${PN}.6
- dodoc AUTHORS ChangeLog README
dohtml docs/*.html
prepgamesdirs
}