dev-perl/CGI-PSGI: Fix for '.' in @INC re bug #615136

Generic Module::Install Fix for Perl 5.26

Bug: https://bugs.gentoo.org/615136
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Kent Fredric
2017-06-20 06:21:01 +12:00
parent 631c86dbba
commit 0e9d3e2c0f

View File

@@ -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
}