summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-12-04 17:04:52 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-12-04 17:04:52 +0000
commitd925f77e855ce5c9fa7561bf9bf5c7ecb23fbcc6 (patch)
treed020dbb189519378914c145d5c53b4dc4d351676 /games-strategy/widelands
parentCleanup: remove older versions; bump to 8.5.1; fix dependencies (previously D... (diff)
downloadgentoo-2-d925f77e855ce5c9fa7561bf9bf5c7ecb23fbcc6.tar.gz
gentoo-2-d925f77e855ce5c9fa7561bf9bf5c7ecb23fbcc6.tar.bz2
gentoo-2-d925f77e855ce5c9fa7561bf9bf5c7ecb23fbcc6.zip
add use-dep for libsdl
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-strategy/widelands')
-rw-r--r--games-strategy/widelands/widelands-0.0.14.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/games-strategy/widelands/widelands-0.0.14.ebuild b/games-strategy/widelands/widelands-0.0.14.ebuild
index 0f2e0d35371a..4a0f07767062 100644
--- a/games-strategy/widelands/widelands-0.0.14.ebuild
+++ b/games-strategy/widelands/widelands-0.0.14.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.0.14.ebuild,v 1.3 2009/11/23 01:26:14 mr_bones_ Exp $
-EAPI=2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.0.14.ebuild,v 1.4 2009/12/04 17:04:52 mr_bones_ Exp $
+EAPI=2
inherit toolchain-funcs eutils versionator games
MY_PV=$(get_version_component_range 3)
@@ -15,7 +15,7 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-RDEPEND="media-libs/libsdl
+RDEPEND="media-libs/libsdl[video]
media-libs/sdl-image
media-libs/sdl-mixer
media-libs/sdl-net
@@ -34,7 +34,8 @@ S=${WORKDIR}/${PN}
src_prepare() {
epatch "${FILESDIR}"/${P}-build.patch
- sed -i 's:__ppc__:__PPC__:' src/s2map.cc \
+ sed -i \
+ -e 's:__ppc__:__PPC__:' src/s2map.cc \
|| die "sed s2map.cc failed"
}