From: Kent Fredric Date: Tue, 13 Jun 2017 10:02:23 +0000 (+1200) Subject: dev-perl/Authen-Simple: Fix for '.' in @INC re bug #614412 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fc962ac65e0bccd7c2ad307622258c0fc12047b4;p=gentoo.git dev-perl/Authen-Simple: Fix for '.' in @INC re bug #614412 Generic Module::Install fix for 5.25 Bug: https://bugs.gentoo.org/614412 Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- diff --git a/dev-perl/Authen-Simple/Authen-Simple-0.500.0.ebuild b/dev-perl/Authen-Simple/Authen-Simple-0.500.0.ebuild index bce46edf8a4a..d49624399e6f 100644 --- a/dev-perl/Authen-Simple/Authen-Simple-0.500.0.ebuild +++ b/dev-perl/Authen-Simple/Authen-Simple-0.500.0.ebuild @@ -25,3 +25,9 @@ DEPEND="${RDEPEND} >=virtual/perl-ExtUtils-MakeMaker-6.360.0 test? ( virtual/perl-Test-Simple ) " + +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 +}