summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-02-11 08:39:43 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-02-11 08:39:43 +0000
commit4f3323f106ef29a22abe4d1b1c0457817d0008eb (patch)
treef4bf2de26b7d1b03f6a9ca61b313e343cfb24905 /games-puzzle/xpuyopuyo/xpuyopuyo-0.9.8.ebuild
parentEAPI=2; make it work with newer devil (diff)
downloadgentoo-2-4f3323f106ef29a22abe4d1b1c0457817d0008eb.tar.gz
gentoo-2-4f3323f106ef29a22abe4d1b1c0457817d0008eb.tar.bz2
gentoo-2-4f3323f106ef29a22abe4d1b1c0457817d0008eb.zip
Fix --as-needed bug #247452
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64)
Diffstat (limited to 'games-puzzle/xpuyopuyo/xpuyopuyo-0.9.8.ebuild')
-rw-r--r--games-puzzle/xpuyopuyo/xpuyopuyo-0.9.8.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/games-puzzle/xpuyopuyo/xpuyopuyo-0.9.8.ebuild b/games-puzzle/xpuyopuyo/xpuyopuyo-0.9.8.ebuild
index f12f56b4c40f..e9f4026a0618 100644
--- a/games-puzzle/xpuyopuyo/xpuyopuyo-0.9.8.ebuild
+++ b/games-puzzle/xpuyopuyo/xpuyopuyo-0.9.8.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xpuyopuyo/xpuyopuyo-0.9.8.ebuild,v 1.4 2008/06/26 08:43:21 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xpuyopuyo/xpuyopuyo-0.9.8.ebuild,v 1.5 2009/02/11 08:39:43 tupone Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="A Tetris-like game with opponent"
@@ -17,13 +18,16 @@ DEPEND="=x11-libs/gtk+-1.2*
x11-libs/libXpm
media-libs/libmikmod"
-src_compile() {
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+}
+
+src_configure() {
egamesconf \
--with-gnome \
--enable-aibreed \
--enable-network \
|| die
- emake || die "make failed"
}
src_install() {