sci-mathematics/pari: Fix for '.' in @INC on perl 5.26 re bug #615016
authorKent Fredric <kentnl@gentoo.org>
Sat, 10 Jun 2017 23:48:16 +0000 (11:48 +1200)
committerKent Fredric <kentnl@gentoo.org>
Sun, 11 Jun 2017 14:29:18 +0000 (02:29 +1200)
commit820fcd22ef2a0a5d8eefb18e86ab21ba76d96e3f
treea4536b9963bce033c96059662f795236afe0a368
parent9dd9db5d2db28152483f136a1a48391c5442a3dc
sci-mathematics/pari: Fix for '.' in @INC on perl 5.26 re bug #615016

Perl 5.26 removes implied cwd from library loading paths, and
subsequently Pari's compile fails due to reliance on this implication.

These patches rectify that by constructing a library path the same
as the scripts directory, and inserting that into `@INC`

Of course, we still need the oldest pari because dev-perl/Math-Pari
needs the old version.

And of course, the files in question have minor changes over the
handful of versions, necessitating 3 *mostly* identical but slightly
different patches for the relevant versions.

I haven't filed this issue upstream, as their bug reporting stuff
looked dizzyingly confusing.

Bug: https://bugs.gentoo.org/615016
Package-Manager: Portage-2.3.6, Repoman-2.3.2
12 files changed:
sci-mathematics/pari/files/pari-2.3.5-no-dot-inc.patch [new file with mode: 0644]
sci-mathematics/pari/files/pari-2.5.0-no-dot-inc.patch [new file with mode: 0644]
sci-mathematics/pari/files/pari-2.7.0-no-dot-inc.patch [new file with mode: 0644]
sci-mathematics/pari/pari-2.3.5.ebuild
sci-mathematics/pari/pari-2.5.0-r3.ebuild
sci-mathematics/pari/pari-2.5.1-r1.ebuild
sci-mathematics/pari/pari-2.5.1.ebuild
sci-mathematics/pari/pari-2.5.2.ebuild
sci-mathematics/pari/pari-2.5.3.ebuild
sci-mathematics/pari/pari-2.5.4.ebuild
sci-mathematics/pari/pari-2.7.0.ebuild
sci-mathematics/pari/pari-2.7.1.ebuild