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
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
-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 c029efc2ea29..a792a5a65c13 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 150156feaded..a8f7848ccb65 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>