summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-13 21:55:41 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-13 21:55:41 +1200
commit84dfd0e902855d906cf8a1155113be1e983acf2a (patch)
treebcaaea519f6185cdda3e38b745981627e2cc923b /dev-perl/Module-Refresh
parentdev-perl/asa: Fix for '.' in @INC re bug #614344 (diff)
downloadgentoo-84dfd0e902855d906cf8a1155113be1e983acf2a.tar.gz
gentoo-84dfd0e902855d906cf8a1155113be1e983acf2a.tar.bz2
gentoo-84dfd0e902855d906cf8a1155113be1e983acf2a.zip
dev-perl/Module-Refresh: Fix for '.' in @INC re bug #614346
Generic Module::Install fix for 5.26 Bug: https://bugs.gentoo.org/614346 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Module-Refresh')
-rw-r--r--dev-perl/Module-Refresh/Module-Refresh-0.170.0-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-perl/Module-Refresh/Module-Refresh-0.170.0-r1.ebuild b/dev-perl/Module-Refresh/Module-Refresh-0.170.0-r1.ebuild
index d5a47392d3fb..790561f42ff1 100644
--- a/dev-perl/Module-Refresh/Module-Refresh-0.170.0-r1.ebuild
+++ b/dev-perl/Module-Refresh/Module-Refresh-0.170.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -17,3 +17,9 @@ RDEPEND=""
DEPEND="test? ( dev-perl/Path-Class )"
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
+}