summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2018-04-25 16:42:36 -0500
committerMatthias Maier <tamiko@gentoo.org>2018-04-25 16:43:39 -0500
commitdd99606fe102ee6187a81044a4a9f8b5ea1892be (patch)
treeb0d169c4c0ee577f0de3b8a2994afcfe033965ff /sci-libs/adolc
parentsci-libs/adolc: remove obsolete versions (diff)
downloadgentoo-dd99606fe102ee6187a81044a4a9f8b5ea1892be.tar.gz
gentoo-dd99606fe102ee6187a81044a4a9f8b5ea1892be.tar.bz2
gentoo-dd99606fe102ee6187a81044a4a9f8b5ea1892be.zip
sci-libs/adolc: always enable essential features
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'sci-libs/adolc')
-rw-r--r--sci-libs/adolc/adolc-2.6.3-r1.ebuild (renamed from sci-libs/adolc/adolc-2.6.3.ebuild)13
1 files 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
index eb2ddb931e3d..8e711996d79c 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)
}