aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2013-09-14 10:46:29 +0200
committerMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2013-09-14 10:46:29 +0200
commit5c30b638891d5120f4a6757229945f6103dffa43 (patch)
tree22bebb0dc37e652947c6d6a11d7c0931f4a246ac /sci-biology/ncbi-tools++/ncbi-tools++-9.0.0-r1.ebuild
parentAdd upstream ncbi-tools++-9.0.0-remove-LZO-definition-upstream.patch with lin... (diff)
downloadsci-5c30b638891d5120f4a6757229945f6103dffa43.tar.gz
sci-5c30b638891d5120f4a6757229945f6103dffa43.tar.bz2
sci-5c30b638891d5120f4a6757229945f6103dffa43.zip
Support at least when user passes USE='gnutls -ssl -openssl' but what we really want is to prefer gnutls over openssl if both are available on the system.
Diffstat (limited to 'sci-biology/ncbi-tools++/ncbi-tools++-9.0.0-r1.ebuild')
-rw-r--r--sci-biology/ncbi-tools++/ncbi-tools++-9.0.0-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-9.0.0-r1.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-9.0.0-r1.ebuild
index 1a34f3554..4e1ee2e3e 100644
--- a/sci-biology/ncbi-tools++/ncbi-tools++-9.0.0-r1.ebuild
+++ b/sci-biology/ncbi-tools++/ncbi-tools++-9.0.0-r1.ebuild
@@ -24,7 +24,7 @@ IUSE="
debug static-libs static threads pch
test wxwidgets odbc
berkdb boost bzip2 cppunit curl expat fastcgi fltk freetype ftds gif
- glut gnutls hdf5 icu jpeg mesa mysql muparser opengl pcre png python
+ glut gnutls hdf5 icu lzo jpeg mesa mysql muparser opengl pcre png python
sablotron sqlite sqlite3 ssl tiff xerces xalan xml xpm xslt X"
#KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS=""
@@ -64,6 +64,7 @@ DEPEND="
png? ( media-libs/libpng )
tiff? ( media-libs/tiff )
xpm? ( x11-libs/libXpm )
+ dev-libs/lzo
app-arch/bzip2
dev-libs/libpcre"
# USE flags which should be added somehow: wxWindows wxWidgets SP ORBacus ODBC OEChem sge
@@ -206,6 +207,9 @@ src_configure() {
#
--with-flat-makefile
# --with-3psw=std:netopt favor standard (system) builds of the above pkgs
+
+
+# TODO: should improve the ssl/openssl/gmutls logic like is in net-misc/vpnc
$(use_with debug)
$(use_with debug max-debug)
$(use_with debug symbols)
@@ -215,6 +219,7 @@ src_configure() {
$(use_with prefix runpath "${EPREFIX}/usr/$(get_libdir)/ncbi_cxx")
$(use_with test check)
$(use_with pch)
+ $(use_with lzo lzo "${EPREFIX}/usr")
$(use_with pcre pcre "${EPREFIX}/usr")
$(use_with gnutls gnutls "${EPREFIX}/usr")
$(use_with ssl openssl "${EPREFIX}/usr")