sci-libs/adolc: update live ebuild
authorMatthias Maier <tamiko@gentoo.org>
Wed, 25 Apr 2018 20:07:39 +0000 (15:07 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Wed, 25 Apr 2018 21:43:37 +0000 (16:43 -0500)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

sci-libs/adolc/adolc-9999.ebuild
sci-libs/adolc/metadata.xml

index c029efc2ea299f014c9799d9fb3b2f919317ce6f..a792a5a65c1399c0b994a3a3d13e00c7c46b99a8 100644 (file)
@@ -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)
 }
 
index 150156feadedf282272296a3890171dbdd781680..a8f7848ccb6571fe3de3aa0487d2d562bdfbf0ae 100644 (file)
@@ -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>