summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2008-07-09 17:53:37 +0000
committerRémi Cardona <remi@gentoo.org>2008-07-09 17:53:37 +0000
commit13a038e0218b370faf459e43c583328464d0d536 (patch)
treec9cb6ade92a7ff1b9bb0870a0231c135033455bb /dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild
parentadded LDFLAGS with -Wl,-O1 as initial flag (diff)
downloadgentoo-2-13a038e0218b370faf459e43c583328464d0d536.tar.gz
gentoo-2-13a038e0218b370faf459e43c583328464d0d536.tar.bz2
gentoo-2-13a038e0218b370faf459e43c583328464d0d536.zip
dev-libs/libsigc++: don't build tests, they are not --as-needed safe (see bug #140248)
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r3 i686)
Diffstat (limited to 'dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild')
-rw-r--r--dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild b/dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild
index be27cbdf76b1..3f7255eabfd6 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.11 2008/04/20 22:51:16 dirtyepic Exp $
+# $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 $
inherit eutils
@@ -20,6 +20,10 @@ src_unpack() {
cd "${S}"
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"
}
src_compile() {