summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-09-21 08:37:24 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-09-21 08:37:24 +0000
commit3c796fb9f4df9910ac1a467408310ab88e7ac15b (patch)
treee17e391ed9c956f608311024907478371b014af0 /games-arcade/sdb
parentVersion bump. (diff)
downloadgentoo-2-3c796fb9f4df9910ac1a467408310ab88e7ac15b.tar.gz
gentoo-2-3c796fb9f4df9910ac1a467408310ab88e7ac15b.tar.bz2
gentoo-2-3c796fb9f4df9910ac1a467408310ab88e7ac15b.zip
Respect LDFLAGS. Bug #338165
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-arcade/sdb')
-rw-r--r--games-arcade/sdb/ChangeLog8
-rw-r--r--games-arcade/sdb/files/sdb-1.0.2-ldflags.patch11
-rw-r--r--games-arcade/sdb/sdb-1.0.2.ebuild7
3 files changed, 21 insertions, 5 deletions
diff --git a/games-arcade/sdb/ChangeLog b/games-arcade/sdb/ChangeLog
index 55255cf03b60..7f3f05c833b6 100644
--- a/games-arcade/sdb/ChangeLog
+++ b/games-arcade/sdb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/sdb
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdb/ChangeLog,v 1.7 2009/04/02 19:23:15 mr_bones_ Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdb/ChangeLog,v 1.8 2010/09/21 08:37:24 tupone Exp $
+
+ 21 Sep 2010; Tupone Alfredo <tupone@gentoo.org> sdb-1.0.2.ebuild,
+ +files/sdb-1.0.2-ldflags.patch:
+ Respect LDFLAGS. Bug #338165 by flameeyes@gentoo.org
02 Apr 2009; Michael Sterrett <mr_bones_@gentoo.org> sdb-1.0.2.ebuild:
EAPI=2; add use-based dep for sdl-image
diff --git a/games-arcade/sdb/files/sdb-1.0.2-ldflags.patch b/games-arcade/sdb/files/sdb-1.0.2-ldflags.patch
new file mode 100644
index 000000000000..6b071e2daf54
--- /dev/null
+++ b/games-arcade/sdb/files/sdb-1.0.2-ldflags.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.old 2010-09-21 10:30:41.000000000 +0200
++++ src/Makefile 2010-09-21 10:30:58.000000000 +0200
+@@ -40,7 +40,7 @@
+ rm -f $(OBJ) $(BIN)
+
+ $(BIN): $(OBJ)
+- $(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)
++ $(CPP) $(LDFLAGS) $(LINKOBJ) -o $(BIN) $(LIBS)
+
+ main.o: main.cpp
+ $(CPP) -c main.cpp -o main.o $(CXXFLAGS)
diff --git a/games-arcade/sdb/sdb-1.0.2.ebuild b/games-arcade/sdb/sdb-1.0.2.ebuild
index c181b28cce02..21533ef7036d 100644
--- a/games-arcade/sdb/sdb-1.0.2.ebuild
+++ b/games-arcade/sdb/sdb-1.0.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-arcade/sdb/sdb-1.0.2.ebuild,v 1.8 2009/04/02 19:23:15 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdb/sdb-1.0.2.ebuild,v 1.9 2010/09/21 08:37:24 tupone Exp $
EAPI=2
inherit eutils games
@@ -28,7 +28,8 @@ src_prepare() {
src/sdb.h src/game.cpp || die "setting game paths"
epatch \
"${FILESDIR}"/${P}-endian.patch \
- "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-ldflags.patch
}
src_compile() {