summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2008-07-10 13:45:47 +0000
committerRémi Cardona <remi@gentoo.org>2008-07-10 13:45:47 +0000
commit7d4a94a36b76575b7ddac0b3b1a4b8f6511b8604 (patch)
tree43418e95f2d497cf446b7356b3715c9296fcff1d /dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild
parentVersion bump and fixed compile issue due to openbabel-2.2.0 API change (see b... (diff)
downloadgentoo-2-7d4a94a36b76575b7ddac0b3b1a4b8f6511b8604.tar.gz
gentoo-2-7d4a94a36b76575b7ddac0b3b1a4b8f6511b8604.tar.bz2
gentoo-2-7d4a94a36b76575b7ddac0b3b1a4b8f6511b8604.zip
dev-libs/libsigc++: real fix for --as-needed, still bug ##140248
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r6 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, 4 insertions, 4 deletions
diff --git a/dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild b/dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild
index 3f7255eabfd6..4e9c523aa64a 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
# 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.12 2008/07/09 17:53:37 remi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild,v 1.13 2008/07/10 13:45:47 remi Exp $
inherit eutils
@@ -21,9 +21,9 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-gcc43.patch
- # don't waste time building tests, they fail with --as-needed, bug #140248
- sed -i 's|^\(SUBDIRS =.*\)tests\(.*\)$|\1\2|' Makefile.in || \
- die "sed tests failed"
+ # fix --as-needed, see bug #140248
+ sed -i -e 's:^libsigc_la_LIBADD =:& $(THREAD_LIB):' \
+ sigc++/Makefile.in || die
}
src_compile() {