1 |
commit: 5b5087afce003e7f8cbd542fd83492546abb18fc |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 30 22:55:43 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 30 22:55:43 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b5087af |
7 |
|
8 |
dev-perl/Mail-Mbox-MessageParser: Add build fix for Perl 5.26, bug 617108 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
.../Mail-Mbox-MessageParser-1.510.500.ebuild | 14 +++++++++----- |
13 |
1 file changed, 9 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/dev-perl/Mail-Mbox-MessageParser/Mail-Mbox-MessageParser-1.510.500.ebuild b/dev-perl/Mail-Mbox-MessageParser/Mail-Mbox-MessageParser-1.510.500.ebuild |
16 |
index 33c6a385c9e..f541ca2fe60 100644 |
17 |
--- a/dev-perl/Mail-Mbox-MessageParser/Mail-Mbox-MessageParser-1.510.500.ebuild |
18 |
+++ b/dev-perl/Mail-Mbox-MessageParser/Mail-Mbox-MessageParser-1.510.500.ebuild |
19 |
@@ -1,10 +1,10 @@ |
20 |
-# Copyright 1999-2015 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI=6 |
26 |
|
27 |
-MODULE_AUTHOR=DCOPPIT |
28 |
-MODULE_VERSION=1.5105 |
29 |
+DIST_AUTHOR=DCOPPIT |
30 |
+DIST_VERSION=1.5105 |
31 |
inherit perl-module |
32 |
|
33 |
DESCRIPTION="A fast and simple mbox folder reader" |
34 |
@@ -26,4 +26,8 @@ DEPEND="${RDEPEND} |
35 |
test? ( virtual/perl-Test-Simple ) |
36 |
" |
37 |
|
38 |
-SRC_TEST="do parallel" |
39 |
+src_prepare() { |
40 |
+ sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL || |
41 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
42 |
+ perl-module_src_prepare |
43 |
+} |