1 |
commit: 931e183ee7a2fde6c44e672ee444aca6f4339336 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 29 21:47:41 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 29 21:47:41 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=931e183e |
7 |
|
8 |
dev-perl/HTML-Quoted: Add build fix for Perl 5.26, bug 616970 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-perl/HTML-Quoted/HTML-Quoted-0.40.0.ebuild | 6 ++++++ |
13 |
1 file changed, 6 insertions(+) |
14 |
|
15 |
diff --git a/dev-perl/HTML-Quoted/HTML-Quoted-0.40.0.ebuild b/dev-perl/HTML-Quoted/HTML-Quoted-0.40.0.ebuild |
16 |
index 7845a0b56c5..79dd4f858e1 100644 |
17 |
--- a/dev-perl/HTML-Quoted/HTML-Quoted-0.40.0.ebuild |
18 |
+++ b/dev-perl/HTML-Quoted/HTML-Quoted-0.40.0.ebuild |
19 |
@@ -19,3 +19,9 @@ RDEPEND=" |
20 |
DEPEND="${RDEPEND} |
21 |
>=virtual/perl-ExtUtils-MakeMaker-6.590.0 |
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 |
+} |