1 |
commit: 468340a738fa0179000ef01dbd002194caacbe6f |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 30 22:42:44 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 30 22:42:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=468340a7 |
7 |
|
8 |
dev-perl/LaTeX-Driver: Add build fix for Perl 5.26, bug 617040 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-perl/LaTeX-Driver/LaTeX-Driver-0.200.4.ebuild | 15 +++++++++------ |
13 |
1 file changed, 9 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/dev-perl/LaTeX-Driver/LaTeX-Driver-0.200.4.ebuild b/dev-perl/LaTeX-Driver/LaTeX-Driver-0.200.4.ebuild |
16 |
index 4cc4c610109..f422f50af56 100644 |
17 |
--- a/dev-perl/LaTeX-Driver/LaTeX-Driver-0.200.4.ebuild |
18 |
+++ b/dev-perl/LaTeX-Driver/LaTeX-Driver-0.200.4.ebuild |
19 |
@@ -1,15 +1,14 @@ |
20 |
-# Copyright 1999-2016 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI=6 |
26 |
|
27 |
-MODULE_AUTHOR=EINHVERFR |
28 |
-MODULE_VERSION=0.200.4 |
29 |
+DIST_AUTHOR=EINHVERFR |
30 |
+DIST_VERSION=0.200.4 |
31 |
inherit perl-module |
32 |
|
33 |
DESCRIPTION="Perl encapsulation of invoking the Latex programs" |
34 |
|
35 |
-LICENSE="|| ( GPL-1+ Artistic )" |
36 |
SLOT="0" |
37 |
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd" |
38 |
IUSE="test" |
39 |
@@ -32,4 +31,8 @@ DEPEND="${RDEPEND} |
40 |
) |
41 |
" |
42 |
|
43 |
-SRC_TEST="do" |
44 |
+src_prepare() { |
45 |
+ sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL || |
46 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
47 |
+ perl-module_src_prepare |
48 |
+} |