summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-20 06:49:42 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-20 06:49:42 +1200
commit441e9eeb93c4e5bd1e96a12b698a63d637ebcd51 (patch)
treee60c086af7b3ed5a442393e0cbd1cc71254a0b6b /dev-perl/Class-Autouse
parentdev-perl/Chart-Math-Axis: Fix for '.' in @INC re bug #615112 (diff)
downloadgentoo-441e9eeb93c4e5bd1e96a12b698a63d637ebcd51.tar.gz
gentoo-441e9eeb93c4e5bd1e96a12b698a63d637ebcd51.tar.bz2
gentoo-441e9eeb93c4e5bd1e96a12b698a63d637ebcd51.zip
dev-perl/Class-Autouse: Fix for '.' in @INC re bug #615124
Generic Module::Install fix for 5.26 Bug: https://bugs.gentoo.org/615124 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Class-Autouse')
-rw-r--r--dev-perl/Class-Autouse/Class-Autouse-2.10.0-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-perl/Class-Autouse/Class-Autouse-2.10.0-r1.ebuild b/dev-perl/Class-Autouse/Class-Autouse-2.10.0-r1.ebuild
index 662e4e0d5131..2cc34c2170ce 100644
--- a/dev-perl/Class-Autouse/Class-Autouse-2.10.0-r1.ebuild
+++ b/dev-perl/Class-Autouse/Class-Autouse-2.10.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 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=">=virtual/perl-Scalar-List-Utils-1.18"
DEPEND="${RDEPEND}"
SRC_TEST="do"
+
+src_prepare() {
+ sed -i -e 's/use inc::Module::Install::DSL /use lib q[.]; use inc::Module::Install::DSL /' Makefile.PL ||
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+ perl-module_src_prepare
+}