1 |
commit: 0783bd6eb14f40386abf1ca4c6b6ef30b68ae11b |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 28 01:02:16 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 28 01:02:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0783bd6e |
7 |
|
8 |
app-editors/padre: Fix compile without '.' in @INC on Perl 5.26 |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
11 |
|
12 |
app-editors/padre/padre-1.0.0-r1.ebuild | 7 ++++++- |
13 |
app-editors/padre/padre-1.0.0.ebuild | 8 +++++++- |
14 |
2 files changed, 13 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/app-editors/padre/padre-1.0.0-r1.ebuild b/app-editors/padre/padre-1.0.0-r1.ebuild |
17 |
index 1ce32256f58..aae5b066961 100644 |
18 |
--- a/app-editors/padre/padre-1.0.0-r1.ebuild |
19 |
+++ b/app-editors/padre/padre-1.0.0-r1.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=6 |
26 |
@@ -106,3 +106,8 @@ src_configure() { |
27 |
unset DISPLAY |
28 |
perl-module_src_configure |
29 |
} |
30 |
+src_prepare() { |
31 |
+ sed -i -e 's/^use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL || |
32 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
33 |
+ perl-module_src_prepare |
34 |
+} |
35 |
|
36 |
diff --git a/app-editors/padre/padre-1.0.0.ebuild b/app-editors/padre/padre-1.0.0.ebuild |
37 |
index 17201614f89..bc3967a1dbb 100644 |
38 |
--- a/app-editors/padre/padre-1.0.0.ebuild |
39 |
+++ b/app-editors/padre/padre-1.0.0.ebuild |
40 |
@@ -1,4 +1,4 @@ |
41 |
-# Copyright 1999-2016 Gentoo Foundation |
42 |
+# Copyright 1999-2017 Gentoo Foundation |
43 |
# Distributed under the terms of the GNU General Public License v2 |
44 |
|
45 |
EAPI=5 |
46 |
@@ -104,3 +104,9 @@ src_configure() { |
47 |
unset DISPLAY |
48 |
perl-module_src_configure |
49 |
} |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ sed -i -e 's/use inc::Module::Install/use lib q[.];\n use inc::Module::Install/' Makefile.PL || |
53 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
54 |
+ perl-module_src_prepare |
55 |
+} |