summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-10-14 08:57:00 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-10-14 08:57:00 +0000
commit054297ee4f037fb4031b46724458fabd319731b3 (patch)
tree2d01c9fee99fe191eb215ff464d6cc67285a4519 /games-roguelike
parentStable on amd64 wrt bug #338878 (diff)
downloadgentoo-2-054297ee4f037fb4031b46724458fabd319731b3.tar.gz
gentoo-2-054297ee4f037fb4031b46724458fabd319731b3.tar.bz2
gentoo-2-054297ee4f037fb4031b46724458fabd319731b3.zip
Respect LDFLAGS. Bug #335254
(Portage version: 2.1.9.14/cvs/Linux i686)
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/noegnud-slashem/ChangeLog8
-rw-r--r--games-roguelike/noegnud-slashem/files/noegnud-slashem-0.8.2-ldflags.patch11
-rw-r--r--games-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild7
3 files changed, 22 insertions, 4 deletions
diff --git a/games-roguelike/noegnud-slashem/ChangeLog b/games-roguelike/noegnud-slashem/ChangeLog
index 7add9cf6968a..a5e2a8abe30e 100644
--- a/games-roguelike/noegnud-slashem/ChangeLog
+++ b/games-roguelike/noegnud-slashem/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-roguelike/noegnud-slashem
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-slashem/ChangeLog,v 1.8 2009/11/30 16:30:27 flameeyes Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-slashem/ChangeLog,v 1.9 2010/10/14 08:57:00 tupone Exp $
+
+ 14 Oct 2010; Tupone Alfredo <tupone@gentoo.org>
+ noegnud-slashem-0.8.2.ebuild, +files/noegnud-slashem-0.8.2-ldflags.patch:
+ Respect LDFLAGS. Bug #335254 by flameeyes@gentoo.org
30 Nov 2009; Diego E. Pettenò <flameeyes@gentoo.org>
noegnud-slashem-0.8.2.ebuild:
diff --git a/games-roguelike/noegnud-slashem/files/noegnud-slashem-0.8.2-ldflags.patch b/games-roguelike/noegnud-slashem/files/noegnud-slashem-0.8.2-ldflags.patch
new file mode 100644
index 000000000000..fbe611229f59
--- /dev/null
+++ b/games-roguelike/noegnud-slashem/files/noegnud-slashem-0.8.2-ldflags.patch
@@ -0,0 +1,11 @@
+--- slashem-0.0.7E3/sys/unix/Makefile.src.old 2010-10-14 09:33:49.000000000 +0200
++++ slashem-0.0.7E3/sys/unix/Makefile.src 2010-10-14 09:34:09.000000000 +0200
+@@ -570,7 +570,7 @@
+
+ Sysunix: $(HOBJ) Makefile
+ @echo "Loading ..."
+- $(CC) $(LFLAGS) -o $(GAME) $(HOBJ) $(WINLIB) $(LIBS)
++ $(CC) $(LDFLAGS) $(LFLAGS) -o $(GAME) $(HOBJ) $(WINLIB) $(LIBS)
+ @touch Sysunix
+
+ Sys3B2: $(HOBJ) Makefile
diff --git a/games-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild b/games-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild
index ed3e60366007..e92517f39bb2 100644
--- a/games-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild
+++ b/games-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.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-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild,v 1.10 2009/11/30 16:30:27 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild,v 1.11 2010/10/14 08:57:00 tupone Exp $
inherit eutils games
@@ -36,6 +36,9 @@ src_unpack() {
epatch "${DISTDIR}"/noegnud-${PV}_noegnud-${PV}.${VAR_SNAME}${VAR_VER/e/E}.diff.gz
ln -s "${DISTDIR}"/${VAR_TAR} variants/tarballs/${VAR_TAR}
epatch "${FILESDIR}/${P}"-gcc41.patch
+ cd variants
+ make noegnud-0.8.0-${VAR_NAME}-${VAR_DVER}
+ epatch "${FILESDIR}"/${P}-ldflags.patch
}
src_compile() {