summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-05-02 23:01:32 +0000
committerTristan Heaven <tristan@gentoo.org>2008-05-02 23:01:32 +0000
commitc7968f00f52c54c8c591b632bee57f0332cce71c (patch)
treef0d46de0a4aa0de6be5cf88af0ae00f263e54b31 /games-sports/foosball/foosball-0.92-r1.ebuild
parentFix building with gcc-4.3 (diff)
downloadhistorical-c7968f00f52c54c8c591b632bee57f0332cce71c.tar.gz
historical-c7968f00f52c54c8c591b632bee57f0332cce71c.tar.bz2
historical-c7968f00f52c54c8c591b632bee57f0332cce71c.zip
Fix building with gcc-4.3
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'games-sports/foosball/foosball-0.92-r1.ebuild')
-rw-r--r--games-sports/foosball/foosball-0.92-r1.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/games-sports/foosball/foosball-0.92-r1.ebuild b/games-sports/foosball/foosball-0.92-r1.ebuild
index 1dbeb081d400..adbc48afecd4 100644
--- a/games-sports/foosball/foosball-0.92-r1.ebuild
+++ b/games-sports/foosball/foosball-0.92-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/foosball/foosball-0.92-r1.ebuild,v 1.1 2007/05/28 22:39:06 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/foosball/foosball-0.92-r1.ebuild,v 1.2 2008/05/02 23:01:31 nyhm Exp $
inherit eutils games
@@ -10,13 +10,19 @@ SRC_URI="http://www.autismuk.freeserve.co.uk/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ppc x86"
IUSE=""
DEPEND="media-libs/libsdl"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog README TODO
make_desktop_entry ${PN} Foosball
prepgamesdirs