1 |
commit: 0e9d3e2c0f3b7d4c2b263d3019047de21e74bc2d |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 19 18:21:01 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 19 18:21:14 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e9d3e2c |
7 |
|
8 |
dev-perl/CGI-PSGI: Fix for '.' in @INC re bug #615136 |
9 |
|
10 |
Generic Module::Install Fix for Perl 5.26 |
11 |
|
12 |
Bug: https://bugs.gentoo.org/615136 |
13 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
14 |
|
15 |
dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild | 6 ++++++ |
16 |
1 file changed, 6 insertions(+) |
17 |
|
18 |
diff --git a/dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild b/dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild |
19 |
index 6846c41479b..976c02bc919 100644 |
20 |
--- a/dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild |
21 |
+++ b/dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild |
22 |
@@ -23,3 +23,9 @@ DEPEND="${RDEPEND} |
23 |
" |
24 |
|
25 |
SRC_TEST="do" |
26 |
+ |
27 |
+src_prepare() { |
28 |
+ sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL || |
29 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
30 |
+ perl-module_src_prepare |
31 |
+} |