From: Kent Fredric Date: Tue, 13 Jun 2017 08:22:53 +0000 (+1200) Subject: dev-perl/Authen-SASL: Fix for '.' in @INC re bug #613808 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f023ab58170b7786c5160506cb7dc773c088d177;p=gentoo.git dev-perl/Authen-SASL: Fix for '.' in @INC re bug #613808 Apply standard Module::Install fix for '.' in @INC Bug: https://bugs.gentoo.org/613808 Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- diff --git a/dev-perl/Authen-SASL/Authen-SASL-2.160.0-r1.ebuild b/dev-perl/Authen-SASL/Authen-SASL-2.160.0-r1.ebuild index c2ed6d5d2488..b5d54499c498 100644 --- a/dev-perl/Authen-SASL/Authen-SASL-2.160.0-r1.ebuild +++ b/dev-perl/Authen-SASL/Authen-SASL-2.160.0-r1.ebuild @@ -19,3 +19,9 @@ RDEPEND="${DEPEND}" SRC_TEST="do" export OPTIMIZE="$CFLAGS" + +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 +}