summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2010-09-13 11:40:08 +0000
committerPacho Ramos <pacho@gentoo.org>2010-09-13 11:40:08 +0000
commit229124ee224ddae689dba806a6002130d3f1d98a (patch)
treeb60087acc8dc11813efab2b08f35770004459d35 /dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild
parentFix build with linux-headers >= 2.6.23 wrt bug 337056. Thanks to Diego for th... (diff)
downloadgentoo-2-229124ee224ddae689dba806a6002130d3f1d98a.tar.gz
gentoo-2-229124ee224ddae689dba806a6002130d3f1d98a.tar.bz2
gentoo-2-229124ee224ddae689dba806a6002130d3f1d98a.zip
Respect LDFLAGS, bug #336827 (reported by Flameeyes). Thanks to Dane Smith for providing a similar fix for app-misc/ithought in bug #333527.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild')
-rw-r--r--dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild b/dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild
index a0fc9d1d121d..c4fbe5d90b1c 100644
--- a/dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild
+++ b/dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild,v 1.14 2008/07/18 03:50:18 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild,v 1.15 2010/09/13 11:40:08 pacho Exp $
inherit eutils
@@ -24,6 +24,10 @@ src_unpack() {
# fix --as-needed, see bug #140248
sed -i -e 's:^libsigc_la_LIBADD =:& $(THREAD_LIB):' \
sigc++/Makefile.in || die
+
+ # Respect LDFLAGS, bug #336827
+ sed -i "/CC\|LD/{s/-shared/-shared \$LDFLAGS/}" \
+ scripts/ltconfig || die
}
src_compile() {