summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-15 14:04:01 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-15 14:06:25 +1200
commit20d2e04ad13bf2e14874571a1a30324a9de4bb8d (patch)
treec32fcc80668bc74646a36fea94d97f296de915a3 /dev-perl/Text-Password-Pronounceable
parentdev-perl/MouseX-Types: Fix for '.' in @INC re bug #614790 (diff)
downloadgentoo-20d2e04ad13bf2e14874571a1a30324a9de4bb8d.tar.gz
gentoo-20d2e04ad13bf2e14874571a1a30324a9de4bb8d.tar.bz2
gentoo-20d2e04ad13bf2e14874571a1a30324a9de4bb8d.zip
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
Diffstat (limited to 'dev-perl/Text-Password-Pronounceable')
-rw-r--r--dev-perl/Text-Password-Pronounceable/Text-Password-Pronounceable-0.300.0-r1.ebuild6
1 files changed, 6 insertions, 0 deletions
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 d6468554239e..8a34a4c2d3cc 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