diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-09-22 07:19:15 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-09-22 07:19:15 +0000 |
commit | deab6ed5da381a625ed9b9a1e9bd3be860613695 (patch) | |
tree | 5caea3d4d201581024523a01216299dddb243376 /games-arcade/missile | |
parent | Respect LDFLAGS. Bug #337914 (diff) | |
download | gentoo-2-deab6ed5da381a625ed9b9a1e9bd3be860613695.tar.gz gentoo-2-deab6ed5da381a625ed9b9a1e9bd3be860613695.tar.bz2 gentoo-2-deab6ed5da381a625ed9b9a1e9bd3be860613695.zip |
Respect LDFLAGS. Bug #337913
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-arcade/missile')
-rw-r--r-- | games-arcade/missile/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/missile/files/missile-1.0.1-ldflags.patch | 15 | ||||
-rw-r--r-- | games-arcade/missile/missile-1.0.1.ebuild | 10 |
3 files changed, 26 insertions, 7 deletions
diff --git a/games-arcade/missile/ChangeLog b/games-arcade/missile/ChangeLog index 5373ab6ff75e..a52c0a81d549 100644 --- a/games-arcade/missile/ChangeLog +++ b/games-arcade/missile/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/missile -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/missile/ChangeLog,v 1.11 2006/12/06 17:04:44 wolf31o2 Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/missile/ChangeLog,v 1.12 2010/09/22 07:19:15 tupone Exp $ + + 22 Sep 2010; Tupone Alfredo <tupone@gentoo.org> missile-1.0.1.ebuild, + +files/missile-1.0.1-ldflags.patch: + Respect LDFLAGS. Bug #337913 by flameeyes@gentoo.org 06 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> missile-1.0.1.ebuild: Removed sed-4 from *DEPEND. diff --git a/games-arcade/missile/files/missile-1.0.1-ldflags.patch b/games-arcade/missile/files/missile-1.0.1-ldflags.patch new file mode 100644 index 000000000000..5d2288165745 --- /dev/null +++ b/games-arcade/missile/files/missile-1.0.1-ldflags.patch @@ -0,0 +1,15 @@ +--- Makefile.old 2010-09-22 09:11:48.000000000 +0200 ++++ Makefile 2010-09-22 09:13:08.000000000 +0200 +@@ -125,10 +125,10 @@ + fi + + $(PROGRAM): $(OBJECTS) +- $(CC) -o $(PROGRAM) $(OBJECTS) $(CFLAGS) $(LIBS) ++ $(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(CFLAGS) $(LIBS) + + static : $(OBJECTS) +- $(CC) -o $(PROGRAM) $(OBJECTS) $(CFLAGS) $(STATIC_LIBS) ++ $(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(CFLAGS) $(STATIC_LIBS) + + + %.o : %.c %.h diff --git a/games-arcade/missile/missile-1.0.1.ebuild b/games-arcade/missile/missile-1.0.1.ebuild index 4366b1e319dd..364529f21853 100644 --- a/games-arcade/missile/missile-1.0.1.ebuild +++ b/games-arcade/missile/missile-1.0.1.ebuild @@ -1,6 +1,7 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/missile/missile-1.0.1.ebuild,v 1.14 2007/03/13 22:22:56 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/missile/missile-1.0.1.ebuild,v 1.15 2010/09/22 07:19:15 tupone Exp $ +EAPI="2" inherit eutils games @@ -17,9 +18,8 @@ DEPEND="media-libs/libsdl media-libs/sdl-image media-libs/sdl-mixer" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { + epatch "${FILESDIR}"/${P}-ldflags.patch sed -i \ -e "s:\$(game_prefix)/\$(game_data):${GAMES_DATADIR}/${PN}:" \ -e "s/-O2/${CFLAGS}/" \ |