diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-09-12 20:43:43 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-09-12 20:43:43 +0000 |
commit | e9bfc0d9be94eda9f6acaac94af888059b382a9b (patch) | |
tree | 7f55a4ee3fa9552795cd020358d15b66e4d56986 | |
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)
-rw-r--r-- | games-puzzle/gemdropx/ChangeLog | 8 | ||||
-rw-r--r-- | games-puzzle/gemdropx/gemdropx-0.9-r1.ebuild | 15 |
2 files changed, 19 insertions, 4 deletions
diff --git a/games-puzzle/gemdropx/ChangeLog b/games-puzzle/gemdropx/ChangeLog index c225825704a3..f39e456daf7d 100644 --- a/games-puzzle/gemdropx/ChangeLog +++ b/games-puzzle/gemdropx/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-puzzle/gemdropx -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gemdropx/ChangeLog,v 1.8 2009/07/20 22:05:05 mr_bones_ Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gemdropx/ChangeLog,v 1.9 2010/09/12 20:43:43 mr_bones_ Exp $ + + 12 Sep 2010; Michael Sterrett <mr_bones_@gentoo.org> + gemdropx-0.9-r1.ebuild: + honor LDFLAGS (bug #336948); honor CC; tidy install image 20 Jul 2009; Michael Sterrett <mr_bones_@gentoo.org> gemdropx-0.9-r1.ebuild: 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}" \ |