commit:     dd99606fe102ee6187a81044a4a9f8b5ea1892be
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 25 21:42:36 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Apr 25 21:43:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd99606f

sci-libs/adolc: always enable essential features

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 .../adolc/{adolc-2.6.3.ebuild => adolc-2.6.3-r1.ebuild}     | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/sci-libs/adolc/adolc-2.6.3.ebuild 
b/sci-libs/adolc/adolc-2.6.3-r1.ebuild
similarity index 81%
rename from sci-libs/adolc/adolc-2.6.3.ebuild
rename to sci-libs/adolc/adolc-2.6.3-r1.ebuild
index eb2ddb931e3..8e711996d79 100644
--- a/sci-libs/adolc/adolc-2.6.3.ebuild
+++ b/sci-libs/adolc/adolc-2.6.3-r1.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
@@ -14,12 +14,12 @@ 
SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz";
 LICENSE="|| ( EPL-1.0 GPL-2 )"
 SLOT="0/2"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux"
-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}"
 
 S="${WORKDIR}/${MYPN}-${PV}"
@@ -37,9 +37,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)
 }
 

Reply via email to