summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}