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
commit917cca2add3c6d9233bc7a0952c7e5669c509885 (patch)
treefc9c0a9c22d16c1b18ffe807e7036a86717056f1 /sci-biology
parentversion bump (diff)
downloadhistorical-917cca2add3c6d9233bc7a0952c7e5669c509885.tar.gz
historical-917cca2add3c6d9233bc7a0952c7e5669c509885.tar.bz2
historical-917cca2add3c6d9233bc7a0952c7e5669c509885.zip
(#195251) Fix build with --as-needed by always linking against dynamic libraries (Till Korten).
Package-Manager: portage-2.1.5_rc2
Diffstat (limited to 'sci-biology')
-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