summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-03 00:52:20 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-03 00:52:20 +0200
commit3868d9aa46acedbe61ac3674377cc48062a93c80 (patch)
treef67e8fbd1645654bd95578d84544f8005c9ed8d1 /dev-perl/Test-utf8
parentdev-perl/Dist-Zilla-Plugin-AuthorsFromGit: Remove old (diff)
downloadgentoo-3868d9aa46acedbe61ac3674377cc48062a93c80.tar.gz
gentoo-3868d9aa46acedbe61ac3674377cc48062a93c80.tar.bz2
gentoo-3868d9aa46acedbe61ac3674377cc48062a93c80.zip
dev-perl/Test-utf8: Add build fix for Perl 5.26, bug 623136
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Test-utf8')
-rw-r--r--dev-perl/Test-utf8/Test-utf8-1.10.0.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-perl/Test-utf8/Test-utf8-1.10.0.ebuild b/dev-perl/Test-utf8/Test-utf8-1.10.0.ebuild
index 12f7ba3dfb66..423419f844c1 100644
--- a/dev-perl/Test-utf8/Test-utf8-1.10.0.ebuild
+++ b/dev-perl/Test-utf8/Test-utf8-1.10.0.ebuild
@@ -18,3 +18,9 @@ RDEPEND="
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
+
+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
+}