Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/adolc/
Date: Wed, 25 Apr 2018 21:43:52
Message-Id: 1524692619.dd99606fe102ee6187a81044a4a9f8b5ea1892be.tamiko@gentoo
1 commit: dd99606fe102ee6187a81044a4a9f8b5ea1892be
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 25 21:42:36 2018 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 25 21:43:39 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd99606f
7
8 sci-libs/adolc: always enable essential features
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 .../adolc/{adolc-2.6.3.ebuild => adolc-2.6.3-r1.ebuild} | 13 ++++++++-----
13 1 file changed, 8 insertions(+), 5 deletions(-)
14
15 diff --git a/sci-libs/adolc/adolc-2.6.3.ebuild b/sci-libs/adolc/adolc-2.6.3-r1.ebuild
16 similarity index 81%
17 rename from sci-libs/adolc/adolc-2.6.3.ebuild
18 rename to sci-libs/adolc/adolc-2.6.3-r1.ebuild
19 index eb2ddb931e3..8e711996d79 100644
20 --- a/sci-libs/adolc/adolc-2.6.3.ebuild
21 +++ b/sci-libs/adolc/adolc-2.6.3-r1.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2017 Gentoo Foundation
24 +# Copyright 1999-2018 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=6
28 @@ -14,12 +14,12 @@ SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
29 LICENSE="|| ( EPL-1.0 GPL-2 )"
30 SLOT="0/2"
31 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
32 -IUSE="mpi sparse static-libs"
33 +IUSE="+boost mpi sparse static-libs"
34
35 RDEPEND="
36 + boost? ( dev-libs/boost:0= )
37 mpi? ( sys-cluster/ampi:0= )
38 - sparse? ( sci-libs/colpack:0= )
39 -"
40 + sparse? ( sci-libs/colpack:0= )"
41 DEPEND="${RDEPEND}"
42
43 S="${WORKDIR}/${MYPN}-${PV}"
44 @@ -37,9 +37,12 @@ src_prepare() {
45
46 src_configure() {
47 econf \
48 - $(use_enable static-libs static) \
49 + --enable-advanced-branching \
50 + --enable-atrig-erf \
51 $(use_enable mpi ampi) \
52 $(use_enable sparse) \
53 + $(use_enable static-libs static) \
54 + $(use_with boost) \
55 $(use_with sparse colpack "${EPREFIX}"/usr)
56 }