summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-05 01:26:13 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-05 01:26:13 +0000
commit87a3aad27a5e85fd9654898bcea83196fa74853e (patch)
tree0f841a53a345b1bbe94631b39bab54bb547f90ab /games-sports/trophy/trophy-1.1.5.ebuild
parentinherit base so PATCHES array works (diff)
downloadhistorical-87a3aad27a5e85fd9654898bcea83196fa74853e.tar.gz
historical-87a3aad27a5e85fd9654898bcea83196fa74853e.tar.bz2
historical-87a3aad27a5e85fd9654898bcea83196fa74853e.zip
add use-based dep for dev-games/clanlib (bug #247476)
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27.8 i686
Diffstat (limited to 'games-sports/trophy/trophy-1.1.5.ebuild')
-rw-r--r--games-sports/trophy/trophy-1.1.5.ebuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/games-sports/trophy/trophy-1.1.5.ebuild b/games-sports/trophy/trophy-1.1.5.ebuild
index 2270bb205cf7..b6c82cbc99a6 100644
--- a/games-sports/trophy/trophy-1.1.5.ebuild
+++ b/games-sports/trophy/trophy-1.1.5.ebuild
@@ -1,8 +1,9 @@
-# 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-sports/trophy/trophy-1.1.5.ebuild,v 1.2 2008/05/29 10:57:03 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/trophy/trophy-1.1.5.ebuild,v 1.3 2009/01/05 01:26:13 mr_bones_ Exp $
-inherit eutils games
+EAPI=2
+inherit games
DESCRIPTION="2D Racing Game"
HOMEPAGE="http://trophy.sourceforge.net/"
@@ -13,15 +14,11 @@ SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""
-RDEPEND="=dev-games/clanlib-0.8*"
+RDEPEND="dev-games/clanlib:0.8[opengl]"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-display-segv.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-display-segv.patch )
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"