summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-09-22 07:19:15 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-09-22 07:19:15 +0000
commit9e18f237e3c7bf4de6923ec752ec7ae8677542f7 (patch)
tree962cf84a62ba94361eea07de25f5dd2327eb4899 /games-arcade
parentRespect LDFLAGS. Bug #337914 (diff)
downloadhistorical-9e18f237e3c7bf4de6923ec752ec7ae8677542f7.tar.gz
historical-9e18f237e3c7bf4de6923ec752ec7ae8677542f7.tar.bz2
historical-9e18f237e3c7bf4de6923ec752ec7ae8677542f7.zip
Respect LDFLAGS. Bug #337913
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/missile/ChangeLog8
-rw-r--r--games-arcade/missile/Manifest5
-rw-r--r--games-arcade/missile/files/missile-1.0.1-ldflags.patch15
-rw-r--r--games-arcade/missile/missile-1.0.1.ebuild10
4 files changed, 29 insertions, 9 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/Manifest b/games-arcade/missile/Manifest
index 830a785fa8c2..006846cf97f5 100644
--- a/games-arcade/missile/Manifest
+++ b/games-arcade/missile/Manifest
@@ -1,4 +1,5 @@
+AUX missile-1.0.1-ldflags.patch 437 RMD160 6afbd1086a42528e1eddf8b9b6fb5217a58f0a9f SHA1 abc9e25197fbc2c1155f169e609e0921b23d2a16 SHA256 4433a36f8d28568f47d0552bdf4c141f85e1dcf7eaa750b0ed0529bc6df3691b
DIST missile-1.0.1.tar.gz 214933 RMD160 021642753ab6385e91eda7310afc7b3e99006ff1 SHA1 afb22a4f472f71f36bbe89a761d3d1e7a5d335e6 SHA256 fd6d4c42ebc48ab305c4fd027b1b793aa1a8c71c7b61c8fc4040dc21c1ff7d3b
-EBUILD missile-1.0.1.ebuild 963 RMD160 fcca379100145869f3e73cad7d226da54c82b59e SHA1 22789db07749e51f380c88eae47b4ac70dd2ee2c SHA256 e7af880cc4c98ad80cc9efcf734cf783be04eb83bed8dbb2741db7a90290e225
-MISC ChangeLog 1268 RMD160 bfbe130fc2148a437712d775b6ef12b2083b5427 SHA1 8bf1820ec2b5acd238c799044d814a7cc488d4e6 SHA256 5f2fbe66f0ba2b47b4f952039b24dfc4b4434e2a82c3901813c51f05530c8560
+EBUILD missile-1.0.1.ebuild 992 RMD160 747cb595ea58b10ee479ae20fda5d345cc38db92 SHA1 787ed51e55a72a0cf627b48b682004838f4f8c25 SHA256 ad1fbad83f9ca908d6e6eecd0ac52a6e1130d68b5e2bfe783fd611feb3e678d5
+MISC ChangeLog 1432 RMD160 fe1a9518eb2f8b277869d27f0fb66aa8cef86025 SHA1 141448f1b927cbccd32e6c64a914f7aa6ddf299b SHA256 50ac1f5016c36725eb21411423281719f0e65c2305abd4d81bb66a31080508a5
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
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}/" \