diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-06-13 20:27:55 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-06-13 20:42:28 +1200 |
commit | 947e2c4bcffd03b387f99de7f9708d225dc2d79f (patch) | |
tree | 52c37c3efaf694970d96e3b27b614fbc22fed236 /dev-perl/Test-LeakTrace | |
parent | dev-perl/Authen-SASL: Fix for '.' in @INC re bug #613808 (diff) | |
download | gentoo-947e2c4bcffd03b387f99de7f9708d225dc2d79f.tar.gz gentoo-947e2c4bcffd03b387f99de7f9708d225dc2d79f.tar.bz2 gentoo-947e2c4bcffd03b387f99de7f9708d225dc2d79f.zip |
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
Diffstat (limited to 'dev-perl/Test-LeakTrace')
-rw-r--r-- | dev-perl/Test-LeakTrace/Test-LeakTrace-0.150.0.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-perl/Test-LeakTrace/Test-LeakTrace-0.150.0.ebuild b/dev-perl/Test-LeakTrace/Test-LeakTrace-0.150.0.ebuild index 738bcb2f9a88..b61dbfbcf9fb 100644 --- a/dev-perl/Test-LeakTrace/Test-LeakTrace-0.150.0.ebuild +++ b/dev-perl/Test-LeakTrace/Test-LeakTrace-0.150.0.ebuild @@ -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 +} |