summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2018-04-25 15:07:39 -0500
committerMatthias Maier <tamiko@gentoo.org>2018-04-25 16:43:37 -0500
commitc71b51bda7f0f51d9e8c84c7ad01daf080a67779 (patch)
treed60e426c535937ee8677c722ee1e179d5c1aa64d /sci-libs/adolc
parentsys-libs/lwp: amd64 stable wrt bug #654098 (diff)
downloadgentoo-c71b51bda7f0f51d9e8c84c7ad01daf080a67779.tar.gz
gentoo-c71b51bda7f0f51d9e8c84c7ad01daf080a67779.tar.bz2
gentoo-c71b51bda7f0f51d9e8c84c7ad01daf080a67779.zip
sci-libs/adolc: update live ebuild
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'sci-libs/adolc')
-rw-r--r--sci-libs/adolc/adolc-9999.ebuild13
-rw-r--r--sci-libs/adolc/metadata.xml1
2 files changed, 9 insertions, 5 deletions
diff --git a/sci-libs/adolc/adolc-9999.ebuild b/sci-libs/adolc/adolc-9999.ebuild
index c029efc2ea2..a792a5a65c1 100644
--- a/sci-libs/adolc/adolc-9999.ebuild
+++ b/sci-libs/adolc/adolc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -23,12 +23,12 @@ fi
LICENSE="|| ( EPL-1.0 GPL-2 )"
SLOT="0/2"
-IUSE="mpi sparse static-libs"
+IUSE="+boost mpi sparse static-libs"
RDEPEND="
+ boost? ( dev-libs/boost:0= )
mpi? ( sys-cluster/ampi:0= )
- sparse? ( sci-libs/colpack:0= )
-"
+ sparse? ( sci-libs/colpack:0= )"
DEPEND="${RDEPEND}"
PATCHES=(
@@ -44,9 +44,12 @@ src_prepare() {
src_configure() {
econf \
- $(use_enable static-libs static) \
+ --enable-advanced-branching \
+ --enable-atrig-erf \
$(use_enable mpi ampi) \
$(use_enable sparse) \
+ $(use_enable static-libs static) \
+ $(use_with boost) \
$(use_with sparse colpack "${EPREFIX}"/usr)
}
diff --git a/sci-libs/adolc/metadata.xml b/sci-libs/adolc/metadata.xml
index 150156feade..a8f7848ccb6 100644
--- a/sci-libs/adolc/metadata.xml
+++ b/sci-libs/adolc/metadata.xml
@@ -12,6 +12,7 @@
the requested values.
</longdescription>
<use>
+ <flag name="boost">Use the boost allocator from <pkg>dev-libs/boost</pkg></flag>
<flag name="sparse">Add support for sparse matrix algebra with <pkg>sci-libs/colpack</pkg></flag>
</use>
</pkgmetadata>