1 |
commit: 441e9eeb93c4e5bd1e96a12b698a63d637ebcd51 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 19 18:49:42 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 19 18:49:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=441e9eeb |
7 |
|
8 |
dev-perl/Class-Autouse: Fix for '.' in @INC re bug #615124 |
9 |
|
10 |
Generic Module::Install fix for 5.26 |
11 |
|
12 |
Bug: https://bugs.gentoo.org/615124 |
13 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
14 |
|
15 |
dev-perl/Class-Autouse/Class-Autouse-2.10.0-r1.ebuild | 8 +++++++- |
16 |
1 file changed, 7 insertions(+), 1 deletion(-) |
17 |
|
18 |
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 |
19 |
index 662e4e0d513..2cc34c2170c 100644 |
20 |
--- a/dev-perl/Class-Autouse/Class-Autouse-2.10.0-r1.ebuild |
21 |
+++ b/dev-perl/Class-Autouse/Class-Autouse-2.10.0-r1.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2014 Gentoo Foundation |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=5 |
28 |
@@ -17,3 +17,9 @@ RDEPEND=">=virtual/perl-Scalar-List-Utils-1.18" |
29 |
DEPEND="${RDEPEND}" |
30 |
|
31 |
SRC_TEST="do" |
32 |
+ |
33 |
+src_prepare() { |
34 |
+ sed -i -e 's/use inc::Module::Install::DSL /use lib q[.]; use inc::Module::Install::DSL /' Makefile.PL || |
35 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
36 |
+ perl-module_src_prepare |
37 |
+} |