summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-15 14:05:27 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-15 14:06:22 +1200
commitdf7b6e5c759952e1a1da8849327dd955860a5489 (patch)
tree9fdd1ad107b3f160cab7ce2b3143f81fb7a2d079
parentdev-perl/Audio-Musepack: Fix for '.' in @INC re bug #614808 (diff)
downloadgentoo-df7b6e5c759952e1a1da8849327dd955860a5489.tar.gz
gentoo-df7b6e5c759952e1a1da8849327dd955860a5489.tar.bz2
gentoo-df7b6e5c759952e1a1da8849327dd955860a5489.zip
dev-perl/Audio-WMA: 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
-rw-r--r--dev-perl/Audio-WMA/Audio-WMA-1.300.0.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-perl/Audio-WMA/Audio-WMA-1.300.0.ebuild b/dev-perl/Audio-WMA/Audio-WMA-1.300.0.ebuild
index d39d06b78a7b..9744f824ca64 100644
--- a/dev-perl/Audio-WMA/Audio-WMA-1.300.0.ebuild
+++ b/dev-perl/Audio-WMA/Audio-WMA-1.300.0.ebuild
@@ -21,5 +21,7 @@ SRC_TEST=do
src_prepare() {
# MI things
use test && perl_rm_files t/pod.t t/pod-coverage.t
+ 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
}