1 |
commit: a702412846ef873c7c79d15ef741138610dcfab1 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 3 21:19:37 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 3 21:19:37 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7024128 |
7 |
|
8 |
dev-perl/Regexp-Common-net-CIDR: Add build fix for Perl 5.26, bug 623090 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
.../Regexp-Common-net-CIDR-0.20.0-r1.ebuild | 12 ++++++++---- |
13 |
1 file changed, 8 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/dev-perl/Regexp-Common-net-CIDR/Regexp-Common-net-CIDR-0.20.0-r1.ebuild b/dev-perl/Regexp-Common-net-CIDR/Regexp-Common-net-CIDR-0.20.0-r1.ebuild |
16 |
index 4ea495d3ba7..20eb605d01b 100644 |
17 |
--- a/dev-perl/Regexp-Common-net-CIDR/Regexp-Common-net-CIDR-0.20.0-r1.ebuild |
18 |
+++ b/dev-perl/Regexp-Common-net-CIDR/Regexp-Common-net-CIDR-0.20.0-r1.ebuild |
19 |
@@ -1,10 +1,10 @@ |
20 |
# Copyright 1999-2017 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=5 |
24 |
+EAPI=6 |
25 |
|
26 |
-MODULE_AUTHOR=RUZ |
27 |
-MODULE_VERSION=0.02 |
28 |
+DIST_AUTHOR=RUZ |
29 |
+DIST_VERSION=0.02 |
30 |
inherit perl-module |
31 |
|
32 |
DESCRIPTION="Provides patterns for CIDR blocks" |
33 |
@@ -20,4 +20,8 @@ RDEPEND=" |
34 |
DEPEND="${RDEPEND} |
35 |
" |
36 |
|
37 |
-SRC_TEST=do |
38 |
+src_prepare() { |
39 |
+ sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL || |
40 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
41 |
+ perl-module_src_prepare |
42 |
+} |