Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/fricas/
Date: Mon, 26 Mar 2018 06:28:53
Message-Id: 1522045701.62e21bf1fb7b68552dbfa277d32e124bb4f7a23e.grozin@gentoo
1 commit: 62e21bf1fb7b68552dbfa277d32e124bb4f7a23e
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 26 06:28:21 2018 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 26 06:28:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62e21bf1
7
8 sci-mathematics/fricas: fix configure for lisps other than sbcl and ccl
9
10 Closes: https://bugs.gentoo.org/650788
11 Package-Manager: Portage-2.3.19, Repoman-2.3.6
12
13 sci-mathematics/fricas/fricas-1.3.3.ebuild | 10 ++++++++--
14 1 file changed, 8 insertions(+), 2 deletions(-)
15
16 diff --git a/sci-mathematics/fricas/fricas-1.3.3.ebuild b/sci-mathematics/fricas/fricas-1.3.3.ebuild
17 index 1be321f3f7b..b844cb78f7b 100644
18 --- a/sci-mathematics/fricas/fricas-1.3.3.ebuild
19 +++ b/sci-mathematics/fricas/fricas-1.3.3.ebuild
20 @@ -51,7 +51,7 @@ DEPEND="${RDEPEND}"
21 RESTRICT="strip"
22
23 src_configure() {
24 - local LISP n
25 + local LISP n GMP
26 LISP=sbcl
27 n=${#LISPS[*]}
28 for ((n--; n > 0; n--)); do
29 @@ -64,8 +64,14 @@ src_configure() {
30 done
31 einfo "Using lisp: ${LISP}"
32
33 + # bug #650788
34 + if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
35 + then GMP=$(use_with gmp)
36 + else GMP=''
37 + fi
38 +
39 # aldor is not yet in portage
40 - econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with gmp)
41 + econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
42 }
43
44 src_compile() {