1 |
commit: ab1505dfa2e0ce27bb7e8c603f68e6cfe4af09ae |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 17 14:39:49 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 17 14:40:33 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab1505df |
7 |
|
8 |
dev-perl/PPI-HTML: Add build fix for Perl 5.26, bug 615728 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-perl/PPI-HTML/PPI-HTML-1.80.0.ebuild | 6 ++++++ |
13 |
1 file changed, 6 insertions(+) |
14 |
|
15 |
diff --git a/dev-perl/PPI-HTML/PPI-HTML-1.80.0.ebuild b/dev-perl/PPI-HTML/PPI-HTML-1.80.0.ebuild |
16 |
index 18c567d772c..ba595c2b8f2 100644 |
17 |
--- a/dev-perl/PPI-HTML/PPI-HTML-1.80.0.ebuild |
18 |
+++ b/dev-perl/PPI-HTML/PPI-HTML-1.80.0.ebuild |
19 |
@@ -25,3 +25,9 @@ DEPEND="${RDEPEND} |
20 |
>=virtual/perl-Test-Simple-0.470.0 |
21 |
) |
22 |
" |
23 |
+ |
24 |
+src_prepare() { |
25 |
+ sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL || |
26 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
27 |
+ perl-module_src_prepare |
28 |
+} |