diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-10-12 03:49:33 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-10-12 03:49:33 +0000 |
commit | 659ee775316dff8c4540d9665137e24f0f7118ad (patch) | |
tree | 1fc8aecec065b9a07fba4e4e30860459bea10fef /games-arcade/sdlsasteroids/sdlsasteroids-3.0.1.ebuild | |
parent | tidy (diff) | |
download | gentoo-2-659ee775316dff8c4540d9665137e24f0f7118ad.tar.gz gentoo-2-659ee775316dff8c4540d9665137e24f0f7118ad.tar.bz2 gentoo-2-659ee775316dff8c4540d9665137e24f0f7118ad.zip |
honor CXX and CXXFLAGS; add use-deps; tidy
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-arcade/sdlsasteroids/sdlsasteroids-3.0.1.ebuild')
-rw-r--r-- | games-arcade/sdlsasteroids/sdlsasteroids-3.0.1.ebuild | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/games-arcade/sdlsasteroids/sdlsasteroids-3.0.1.ebuild b/games-arcade/sdlsasteroids/sdlsasteroids-3.0.1.ebuild index 69800280d2d6..66eb5f5aea13 100644 --- a/games-arcade/sdlsasteroids/sdlsasteroids-3.0.1.ebuild +++ b/games-arcade/sdlsasteroids/sdlsasteroids-3.0.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdlsasteroids/sdlsasteroids-3.0.1.ebuild,v 1.5 2010/09/22 06:49:33 tupone Exp $ -EAPI="2" +# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdlsasteroids/sdlsasteroids-3.0.1.ebuild,v 1.6 2010/10/12 03:49:33 mr_bones_ Exp $ +EAPI=2 inherit eutils games DESCRIPTION="Rework of Sasteroids using SDL" @@ -16,20 +16,26 @@ IUSE="" DEPEND="virtual/opengl media-libs/sdl-mixer - media-libs/libsdl - media-libs/sdl-image + media-libs/libsdl[audio,joystick,video] + media-libs/sdl-image[png] media-libs/sdl-ttf" S=${WORKDIR}/SDLSasteroids-${PV} src_prepare() { - epatch "${FILESDIR}"/${P}-gcc43.patch \ + epatch \ + "${FILESDIR}"/${P}-gcc43.patch \ "${FILESDIR}"/${P}-ldflags.patch - #-e '34 d' \ sed -i \ -e 's/make /$(MAKE) /' \ -e 's/--strip//' \ - Makefile || die "sed Makefile failed" + Makefile || die + sed -i \ + -e '/^CC/d' \ + -e 's/g++/$(CXX)/' \ + -e 's/CC/CXX/' \ + -e 's/CFLAGS/CXXFLAGS/' \ + src/Makefile || die } src_compile() { |