projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
631c86d
)
dev-perl/CGI-PSGI: Fix for '.' in @INC re bug #615136
author
Kent Fredric
<kentnl@gentoo.org>
Mon, 19 Jun 2017 18:21:01 +0000
(06:21 +1200)
committer
Kent Fredric
<kentnl@gentoo.org>
Mon, 19 Jun 2017 18:21:14 +0000
(06:21 +1200)
Generic Module::Install Fix for Perl 5.26
Bug: https://bugs.gentoo.org/615136
Package-Manager: Portage-2.3.6, Repoman-2.3.2
dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild
patch
|
blob
|
history
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
index 6846c41479bc5d7998486d493b3995c42e35741f..976c02bc91955d9a4ff5c5817fea7fb89207fd69 100644
(file)
--- a/
dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild
+++ b/
dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild
@@
-23,3
+23,9
@@
DEPEND="${RDEPEND}
"
SRC_TEST="do"
+
+src_prepare() {
+ sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL ||
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+ perl-module_src_prepare
+}