1 |
commit: beade26c14a24342d2d6508d9b49456f0fa8b154 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 27 23:07:37 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 27 23:07:37 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beade26c |
7 |
|
8 |
dev-perl/Locale-Maketext-Fuzzy: Fix build with Perl 5.26, bug 617046 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
.../Locale-Maketext-Fuzzy-0.110.0-r1.ebuild | 14 +++++++++----- |
13 |
1 file changed, 9 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/dev-perl/Locale-Maketext-Fuzzy/Locale-Maketext-Fuzzy-0.110.0-r1.ebuild b/dev-perl/Locale-Maketext-Fuzzy/Locale-Maketext-Fuzzy-0.110.0-r1.ebuild |
16 |
index 4528ab64c69..ae9e5507459 100644 |
17 |
--- a/dev-perl/Locale-Maketext-Fuzzy/Locale-Maketext-Fuzzy-0.110.0-r1.ebuild |
18 |
+++ b/dev-perl/Locale-Maketext-Fuzzy/Locale-Maketext-Fuzzy-0.110.0-r1.ebuild |
19 |
@@ -1,10 +1,10 @@ |
20 |
-# Copyright 1999-2016 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=AUDREYT |
28 |
-MODULE_VERSION=0.11 |
29 |
+DIST_AUTHOR=AUDREYT |
30 |
+DIST_VERSION=0.11 |
31 |
inherit perl-module |
32 |
|
33 |
DESCRIPTION="Maketext from already interpolated strings" |
34 |
@@ -14,4 +14,8 @@ LICENSE="CC0-1.0" |
35 |
KEYWORDS="amd64 hppa ppc x86" |
36 |
IUSE="" |
37 |
|
38 |
-SRC_TEST=do |
39 |
+src_prepare() { |
40 |
+ sed -i -e 's/use inc::Module::Package/use lib q[.];\nuse inc::Module::Package/' Makefile.PL || |
41 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
42 |
+ perl-module_src_prepare |
43 |
+} |