summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2010-02-26 16:07:02 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2010-02-26 16:07:02 +0000
commite76f07716dfddb088eff043b70b47411064ca6bd (patch)
treee8a45a63b4add1fd94666c488555f02002a6fe31 /sci-biology/ncbi-tools++
parentUpdate mirror://gnu list. (diff)
downloadgentoo-2-e76f07716dfddb088eff043b70b47411064ca6bd.tar.gz
gentoo-2-e76f07716dfddb088eff043b70b47411064ca6bd.tar.bz2
gentoo-2-e76f07716dfddb088eff043b70b47411064ca6bd.zip
Set custom lib dir, bug 306595
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/ncbi-tools++')
-rw-r--r--sci-biology/ncbi-tools++/ChangeLog8
-rw-r--r--sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r2.ebuild (renamed from sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r1.ebuild)16
2 files changed, 18 insertions, 6 deletions
diff --git a/sci-biology/ncbi-tools++/ChangeLog b/sci-biology/ncbi-tools++/ChangeLog
index 17ee97585d64..493d4040a980 100644
--- a/sci-biology/ncbi-tools++/ChangeLog
+++ b/sci-biology/ncbi-tools++/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-biology/ncbi-tools++
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog,v 1.9 2010/01/12 14:46:33 weaver Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog,v 1.10 2010/02/26 16:07:02 weaver Exp $
+
+*ncbi-tools++-2009.05.15-r2 (26 Feb 2010)
+
+ 26 Feb 2010; Andrey Kislyuk <weaver@gentoo.org>
+ -ncbi-tools++-2009.05.15-r1.ebuild, +ncbi-tools++-2009.05.15-r2.ebuild:
+ Set custom lib dir, bug 306595
12 Jan 2010; Andrey Kislyuk <weaver@gentoo.org>
ncbi-tools++-2009.05.15-r1.ebuild:
diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r1.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r2.ebuild
index 7cd06bde8a65..b8ae87fe88f4 100644
--- a/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r1.ebuild
+++ b/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r1.ebuild,v 1.5 2010/01/12 14:46:33 weaver Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r2.ebuild,v 1.1 2010/02/26 16:07:02 weaver Exp $
EAPI="2"
@@ -61,13 +61,15 @@ src_configure() {
--with-dll \
--without-ftds \
--prefix="${D}"/usr \
- --libdir="${D}"/usr/$(get_libdir) \
+ --libdir="${D}"/usr/$(get_libdir)/${PN} \
--with-z="/usr" \
--with-bz2="/usr" \
--with-pcre="/usr" \
--with-openssl="/usr" \
|| die
+# --with-mt \ # fails with gcc-4.4 but not 4.3
+
# apparently gbench-only configs
# --with-boost="/usr" \
# --with-sablot="/usr" \
@@ -88,7 +90,11 @@ src_install() {
emake install || die
# File collisions with sci-biology/ncbi-tools
rm -f "${D}"/usr/bin/{asn2asn,rpsblast,test_regexp}
- rm -f "${D}"/usr/$(get_libdir)/libblast.*
- # File collision with openrc. NCBI probably needs a subdirectory in /usr/lib
- rm -f "${D}"/usr/$(get_libdir)/libeinfo.*
+
+ echo "LD_LIBRARY_PATH=/usr/lib/${PN}" > ${S}/99${PN}
+ doenvd "${S}/99${PN}"
+}
+
+pkg_postinst() {
+ einfo 'Please run "source /etc/profile" before using this package in the current shell.'
}