1 |
commit: e630944224cf576070350621bef27b403e2f7bd8 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 24 22:46:19 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 24 22:46:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6309442 |
7 |
|
8 |
dev-perl/Class-C3-Componentised: Fix for '.' in @INC re bug #615508 |
9 |
|
10 |
Generic 5.26 Module::Install Fix |
11 |
|
12 |
Bug: https://bugs.gentoo.org/615508 |
13 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
14 |
|
15 |
.../Class-C3-Componentised/Class-C3-Componentised-1.1.0-r1.ebuild | 8 +++++++- |
16 |
1 file changed, 7 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/dev-perl/Class-C3-Componentised/Class-C3-Componentised-1.1.0-r1.ebuild b/dev-perl/Class-C3-Componentised/Class-C3-Componentised-1.1.0-r1.ebuild |
19 |
index 74f80a5e584..f995f441671 100644 |
20 |
--- a/dev-perl/Class-C3-Componentised/Class-C3-Componentised-1.1.0-r1.ebuild |
21 |
+++ b/dev-perl/Class-C3-Componentised/Class-C3-Componentised-1.1.0-r1.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2016 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 |
@@ -23,6 +23,12 @@ DEPEND="${RDEPEND} |
29 |
|
30 |
SRC_TEST=do |
31 |
|
32 |
+src_prepare() { |
33 |
+ sed -i -e 's/use inc::Module::Install /use lib q[.];\nuse inc::Module::Install /' Makefile.PL || |
34 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
35 |
+ perl-module_src_prepare |
36 |
+} |
37 |
+ |
38 |
src_test() { |
39 |
perl_rm_files t/pod.t t/pod-coverage.t |
40 |
perl-module_src_test |