diff options
author | 2010-09-12 20:43:43 +0000 | |
---|---|---|
committer | 2010-09-12 20:43:43 +0000 | |
commit | e9bfc0d9be94eda9f6acaac94af888059b382a9b (patch) | |
tree | 7f55a4ee3fa9552795cd020358d15b66e4d56986 /games-puzzle/gemdropx/gemdropx-0.9-r1.ebuild | |
parent | Delete older ebuild. (diff) | |
download | gentoo-2-e9bfc0d9be94eda9f6acaac94af888059b382a9b.tar.gz gentoo-2-e9bfc0d9be94eda9f6acaac94af888059b382a9b.tar.bz2 gentoo-2-e9bfc0d9be94eda9f6acaac94af888059b382a9b.zip |
honor LDFLAGS (bug #336948); honor CC; tidy install image
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/gemdropx/gemdropx-0.9-r1.ebuild')
-rw-r--r-- | games-puzzle/gemdropx/gemdropx-0.9-r1.ebuild | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/games-puzzle/gemdropx/gemdropx-0.9-r1.ebuild b/games-puzzle/gemdropx/gemdropx-0.9-r1.ebuild index 95d1ccef0751..8f22139f8a60 100644 --- a/games-puzzle/gemdropx/gemdropx-0.9-r1.ebuild +++ b/games-puzzle/gemdropx/gemdropx-0.9-r1.ebuild @@ -1,6 +1,6 @@ -# 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/gemdropx/gemdropx-0.9-r1.ebuild,v 1.7 2009/07/20 22:05:05 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gemdropx/gemdropx-0.9-r1.ebuild,v 1.8 2010/09/12 20:43:43 mr_bones_ Exp $ EAPI=2 inherit games @@ -17,6 +17,17 @@ IUSE="" DEPEND=">=media-libs/libsdl-1.2.3-r1[joystick,video] >=media-libs/sdl-mixer-1.2.1[mikmod]" +src_prepare() { + sed -i \ + -e '/^CC/d' \ + -e '/^CXX/d' \ + -e 's/CXX/CC/' \ + -e 's/-o/$(LDFLAGS) -o/' \ + Makefile || die + + find data/ -type d -name .xvpics -exec rm -rf \{\} + +} + src_compile() { emake \ DATA_PREFIX="${GAMES_DATADIR}/${PN}" \ |