dev-perl/Test-Time: Fix for '.' in @INC re bug #614418

Generic Module::Install fix

Bug: https://bugs.gentoo.org/614418
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Kent Fredric
2017-06-13 22:33:03 +12:00
parent fc962ac65e
commit aadae92338

View File

@@ -22,3 +22,9 @@ DEPEND="${RDEPEND}
"
SRC_TEST="do parallel"
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
}