summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-13 22:33:03 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-13 22:33:03 +1200
commitaadae92338e30a35e5c013dde9baec55604c5649 (patch)
tree6ca2c68554ad7bd239297167dc91b5c7dff1553e /dev-perl/Test-Time
parentdev-perl/Authen-Simple: Fix for '.' in @INC re bug #614412 (diff)
downloadgentoo-aadae92338e30a35e5c013dde9baec55604c5649.tar.gz
gentoo-aadae92338e30a35e5c013dde9baec55604c5649.tar.bz2
gentoo-aadae92338e30a35e5c013dde9baec55604c5649.zip
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
Diffstat (limited to 'dev-perl/Test-Time')
-rw-r--r--dev-perl/Test-Time/Test-Time-0.40.0.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-perl/Test-Time/Test-Time-0.40.0.ebuild b/dev-perl/Test-Time/Test-Time-0.40.0.ebuild
index 1fa7a4776a03..79c1582c3dca 100644
--- a/dev-perl/Test-Time/Test-Time-0.40.0.ebuild
+++ b/dev-perl/Test-Time/Test-Time-0.40.0.ebuild
@@ -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
+}