Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
Date: Sun, 28 Jun 2020 11:46:06
Message-Id: 1593344649.623d4ab26471435828adb197d675568b9212af47.mjo@gentoo
1 commit: 623d4ab26471435828adb197d675568b9212af47
2 Author: François Bissey <frp.bissey <AT> gmail <DOT> com>
3 AuthorDate: Sat Jun 27 08:51:47 2020 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 28 11:44:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623d4ab2
7
8 sci-mathematics/pari: unset LD at configuration time
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.23
11 Closes: https://bugs.gentoo.org/722090
12 Closes: https://github.com/gentoo/gentoo/pull/16445
13 Signed-off-by: François René Pierre Bissey <frp.bissey <AT> gmail.com>
14 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
15
16 sci-mathematics/pari/pari-2.11.4.ebuild | 6 +++++-
17 1 file changed, 5 insertions(+), 1 deletion(-)
18
19 diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild
20 index 8dc1c90f6f0..2d485e21564 100644
21 --- a/sci-mathematics/pari/pari-2.11.4.ebuild
22 +++ b/sci-mathematics/pari/pari-2.11.4.ebuild
23 @@ -61,7 +61,11 @@ src_configure() {
24 # sysdatadir installs a pari.cfg stuff which is informative only.
25 # It is supposed to be for "architecture-dependent" data.
26 # It needs to be easily discoverable for downstream packages such as gp2c.
27 - ./Configure \
28 + # We set LD to "" so that it is set to the value of the compiler used
29 + # which is how a normal end user is expected to configure it. pari's build
30 + # system do not cope very well with a naked linker, it is expecting a
31 + # compiler driver. See https://bugs.gentoo.org/722090
32 + LD="" ./Configure \
33 --prefix="${EPREFIX}"/usr \
34 --datadir="${EPREFIX}/usr/share/${PN}" \
35 --libdir="${EPREFIX}/usr/$(get_libdir)" \