From 20d2e04ad13bf2e14874571a1a30324a9de4bb8d Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Thu, 15 Jun 2017 14:04:01 +1200 Subject: [PATCH] dev-perl/Text-Password-Pronounceable: Fix for '.' in @INC re bug #614946 Module::Install fix for Perl 5.26 Bug: https://bugs.gentoo.org/614946 Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- .../Text-Password-Pronounceable-0.300.0-r1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev-perl/Text-Password-Pronounceable/Text-Password-Pronounceable-0.300.0-r1.ebuild b/dev-perl/Text-Password-Pronounceable/Text-Password-Pronounceable-0.300.0-r1.ebuild index d6468554239e1..8a34a4c2d3cc6 100644 --- a/dev-perl/Text-Password-Pronounceable/Text-Password-Pronounceable-0.300.0-r1.ebuild +++ b/dev-perl/Text-Password-Pronounceable/Text-Password-Pronounceable-0.300.0-r1.ebuild @@ -17,6 +17,12 @@ DEPEND="test? ( virtual/perl-Test-Simple )" 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 +} + src_test() { perl_rm_files t/99pod.t t/99pod-coverage.t perl-module_src_test