summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-10 21:34:58 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-10 21:34:58 +0000
commit4dfe0758fb08d63ba050e49364f1b095f731d3f9 (patch)
treee5e8e6aeb1396f5eb06e99d23de3f3fe490e580b /games-puzzle/shaaft/shaaft-0.5.0.ebuild
parentInitial commit. Per bug #247580. (diff)
downloadgentoo-2-4dfe0758fb08d63ba050e49364f1b095f731d3f9.tar.gz
gentoo-2-4dfe0758fb08d63ba050e49364f1b095f731d3f9.tar.bz2
gentoo-2-4dfe0758fb08d63ba050e49364f1b095f731d3f9.zip
Fix libpng14 detection wrt #308887 by Locke Shinseiko.
(Portage version: 2.2_rc66/cvs/Linux x86_64)
Diffstat (limited to 'games-puzzle/shaaft/shaaft-0.5.0.ebuild')
-rw-r--r--games-puzzle/shaaft/shaaft-0.5.0.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/games-puzzle/shaaft/shaaft-0.5.0.ebuild b/games-puzzle/shaaft/shaaft-0.5.0.ebuild
index c168a50e4452..7433b2dd5509 100644
--- a/games-puzzle/shaaft/shaaft-0.5.0.ebuild
+++ b/games-puzzle/shaaft/shaaft-0.5.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/shaaft-0.5.0.ebuild,v 1.12 2009/02/17 18:27:29 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/shaaft-0.5.0.ebuild,v 1.13 2010/03/10 21:34:58 ssuominen Exp $
EAPI=2
-inherit eutils games
+inherit autotools eutils games
DESCRIPTION="A falling block game similar to Blockout"
HOMEPAGE="http://criticalmass.sourceforge.net/shaaft.php"
@@ -29,10 +29,16 @@ src_prepare() {
game/main.cpp \
|| die "sed main.cpp failed"
+ sed -i \
+ -e 's:png12:png:g' \
+ configure.in || die
+
epatch \
"${FILESDIR}"/${P}-gcc34.patch \
"${FILESDIR}"/${P}-gcc41.patch \
"${FILESDIR}"/${P}-gcc43.patch
+
+ eautoreconf
}
src_install() {