summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-10-01 05:00:17 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-10-01 05:00:17 +0000
commita45a3369ffa5c2533534c8b2bdbba9df11c77b38 (patch)
tree740bba1eaa0c5ba1de89de52bf55615395d1ccea /games-arcade/methane
parentRemoved old. (diff)
downloadgentoo-2-a45a3369ffa5c2533534c8b2bdbba9df11c77b38.tar.gz
gentoo-2-a45a3369ffa5c2533534c8b2bdbba9df11c77b38.tar.bz2
gentoo-2-a45a3369ffa5c2533534c8b2bdbba9df11c77b38.zip
Respect LDFLAGS. Bug #337347
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-arcade/methane')
-rw-r--r--games-arcade/methane/ChangeLog8
-rw-r--r--games-arcade/methane/files/methane-1.4.8-ldflags.patch11
-rw-r--r--games-arcade/methane/methane-1.4.8.ebuild5
3 files changed, 20 insertions, 4 deletions
diff --git a/games-arcade/methane/ChangeLog b/games-arcade/methane/ChangeLog
index 36e4c7fbd5a2..b4b9967dbd79 100644
--- a/games-arcade/methane/ChangeLog
+++ b/games-arcade/methane/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/methane
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/ChangeLog,v 1.16 2009/01/04 19:23:08 mr_bones_ Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/ChangeLog,v 1.17 2010/10/01 05:00:17 tupone Exp $
+
+ 01 Oct 2010; Tupone Alfredo <tupone@gentoo.org> methane-1.4.8.ebuild,
+ +files/methane-1.4.8-ldflags.patch:
+ Respect LDFLAGS. Bug #337347 by flameeyes@gentoo.org
04 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> methane-1.4.8.ebuild:
add use-based dep (bug #239723)
diff --git a/games-arcade/methane/files/methane-1.4.8-ldflags.patch b/games-arcade/methane/files/methane-1.4.8-ldflags.patch
new file mode 100644
index 000000000000..3fcbc6eed08b
--- /dev/null
+++ b/games-arcade/methane/files/methane-1.4.8-ldflags.patch
@@ -0,0 +1,11 @@
+--- source/linux/makefile.old 2010-10-01 06:52:19.000000000 +0200
++++ source/linux/makefile 2010-10-01 06:52:51.000000000 +0200
+@@ -18,7 +18,7 @@
+ MainSource/misc.o MainSource/objlist.o MainSource/player.o MainSource/power.o MainSource/target.o \
+ MainSource/suck.o MainSource/weapon.o MainSource/sound.o MainData/snddata.o MainData/gfxdata.o MainData/gfxdata2.o \
+ MainData/gfxdata3.o MainData/mapdata.o MainLinux/font32.o MainLinux/doc.o MainLinux/main.o MainMikMod/audiodrv.o
+- g++ ${CXXFLAGS} MainSource/gfxoff.o MainSource/baddie.o MainSource/bitdraw.o MainSource/bitgroup.o MainSource/bititem.o \
++ g++ $(LDFLAGS) ${CXXFLAGS} MainSource/gfxoff.o MainSource/baddie.o MainSource/bitdraw.o MainSource/bitgroup.o MainSource/bititem.o \
+ MainSource/boss.o MainSource/game.o MainSource/gasobj.o MainSource/global.o MainSource/goodie.o MainSource/maps.o \
+ MainSource/misc.o MainSource/objlist.o MainSource/player.o MainSource/power.o MainSource/target.o \
+ MainSource/suck.o MainSource/weapon.o MainSource/sound.o MainData/snddata.o MainData/gfxdata.o MainData/gfxdata2.o \
diff --git a/games-arcade/methane/methane-1.4.8.ebuild b/games-arcade/methane/methane-1.4.8.ebuild
index d4c7fb0cc9c4..6034ba066b48 100644
--- a/games-arcade/methane/methane-1.4.8.ebuild
+++ b/games-arcade/methane/methane-1.4.8.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-arcade/methane/methane-1.4.8.ebuild,v 1.6 2009/01/25 22:52:37 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/methane-1.4.8.ebuild,v 1.7 2010/10/01 05:00:17 tupone Exp $
EAPI=2
inherit eutils games
@@ -30,6 +30,7 @@ src_prepare() {
-e "s:/var/games:${GAMES_STATEDIR}:" \
source/linux/doc.cpp history \
|| die "sed failed"
+ epatch "${FILESDIR}"/${P}-ldflags.patch
}
src_compile() {