summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-04-08 21:29:59 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2008-04-08 21:29:59 +0000
commite8c52e9908f74fd7cacd8251cf8b2e97301c85b2 (patch)
tree51faf63d1c0d951a6f383716670bff5448362fca
parentversion bump (diff)
downloadgentoo-2-e8c52e9908f74fd7cacd8251cf8b2e97301c85b2.tar.gz
gentoo-2-e8c52e9908f74fd7cacd8251cf8b2e97301c85b2.tar.bz2
gentoo-2-e8c52e9908f74fd7cacd8251cf8b2e97301c85b2.zip
(#195251) Fix build with --as-needed by always linking against dynamic libraries (Till Korten).
(Portage version: 2.1.5_rc2)
-rw-r--r--sci-biology/ncbi-tools/ChangeLog7
-rw-r--r--sci-biology/ncbi-tools/ncbi-tools-20070826.ebuild5
2 files changed, 10 insertions, 2 deletions
diff --git a/sci-biology/ncbi-tools/ChangeLog b/sci-biology/ncbi-tools/ChangeLog
index d723c69c6ca2..c234d791a8f0 100644
--- a/sci-biology/ncbi-tools/ChangeLog
+++ b/sci-biology/ncbi-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-biology/ncbi-tools
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools/ChangeLog,v 1.58 2008/04/08 21:07:57 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools/ChangeLog,v 1.59 2008/04/08 21:29:59 dberkholz Exp $
+
+ 08 Apr 2008; Donnie Berkholz <dberkholz@gentoo.org>;
+ ncbi-tools-20070826.ebuild:
+ (#195251) Fix build with --as-needed by always linking against dynamic
+ libraries (Till Korten).
08 Apr 2008; Donnie Berkholz <dberkholz@gentoo.org>;
ncbi-tools-20070826.ebuild:
diff --git a/sci-biology/ncbi-tools/ncbi-tools-20070826.ebuild b/sci-biology/ncbi-tools/ncbi-tools-20070826.ebuild
index cd1a0d084adc..84bc9795f742 100644
--- a/sci-biology/ncbi-tools/ncbi-tools-20070826.ebuild
+++ b/sci-biology/ncbi-tools/ncbi-tools-20070826.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/sci-biology/ncbi-tools/ncbi-tools-20070826.ebuild,v 1.4 2008/04/08 21:07:57 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools/ncbi-tools-20070826.ebuild,v 1.5 2008/04/08 21:29:59 dberkholz Exp $
inherit flag-o-matic toolchain-funcs eutils autotools
@@ -120,6 +120,9 @@ src_unpack() {
# ... on generic Linux.
sed -i -e "s/NCBI_CC = gcc/NCBI_CC = $(tc-getCC)/" linux.ncbi.mk || die
+ # We use dynamic libraries
+ sed -i -e "s/-Wl,-Bstatic//" *linux*.ncbi.mk || die
+
# GNU make 3.81 is confused by those nightmarish Makefiles, so we use pmake
# instead. The right solution would be to fix the Makefiles. (Be my guest.)
cd "${S}"/make