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

Standard Module::Install fix for "." in @INC Removal in 5.26

Bug: https://bugs.gentoo.org/613872
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Kent Fredric
2017-06-13 20:27:55 +12:00
parent f023ab5817
commit 947e2c4bcf

View File

@@ -14,3 +14,9 @@ KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd
IUSE=""
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
}