summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-15 13:59:48 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-15 14:06:23 +1200
commit6ddb58cdf060e36ab43f574ee15c968dd7267145 (patch)
tree394edad2aa68e05d45446f2d0d1cb4204ab4e1c2 /dev-perl/Benchmark-Timer
parentdev-perl/Audio-WMA: Fix for '.' in @INC re bug #614946 (diff)
downloadgentoo-6ddb58cdf060e36ab43f574ee15c968dd7267145.tar.gz
gentoo-6ddb58cdf060e36ab43f574ee15c968dd7267145.tar.bz2
gentoo-6ddb58cdf060e36ab43f574ee15c968dd7267145.zip
dev-perl/Benchmark-Timer: Fix for '.' in @INC re bug #614958
Module::Install fix for Perl 5.26 Bug: https://bugs.gentoo.org/614958 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Benchmark-Timer')
-rw-r--r--dev-perl/Benchmark-Timer/Benchmark-Timer-0.710.700.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-perl/Benchmark-Timer/Benchmark-Timer-0.710.700.ebuild b/dev-perl/Benchmark-Timer/Benchmark-Timer-0.710.700.ebuild
index bf3833fb0b5b..23940a433393 100644
--- a/dev-perl/Benchmark-Timer/Benchmark-Timer-0.710.700.ebuild
+++ b/dev-perl/Benchmark-Timer/Benchmark-Timer-0.710.700.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -25,3 +25,9 @@ DEPEND="${RDEPEND}
"
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
+}