1 |
commit: d6dd68a471659ba812f5fe9526b1c2f181ff7b32 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 30 22:51:06 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 30 22:51:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6dd68a4 |
7 |
|
8 |
dev-perl/Locale-Msgfmt: Add build fix for Perl 5.26, bug 617102 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-perl/Locale-Msgfmt/Locale-Msgfmt-0.150.0-r1.ebuild | 17 ++++++++++------- |
13 |
1 file changed, 10 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/dev-perl/Locale-Msgfmt/Locale-Msgfmt-0.150.0-r1.ebuild b/dev-perl/Locale-Msgfmt/Locale-Msgfmt-0.150.0-r1.ebuild |
16 |
index 3e15b6952a3..b7d72d4bcb7 100644 |
17 |
--- a/dev-perl/Locale-Msgfmt/Locale-Msgfmt-0.150.0-r1.ebuild |
18 |
+++ b/dev-perl/Locale-Msgfmt/Locale-Msgfmt-0.150.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=AZAWAWI |
28 |
-MODULE_VERSION=0.15 |
29 |
+DIST_AUTHOR=AZAWAWI |
30 |
+DIST_VERSION=0.15 |
31 |
inherit perl-module |
32 |
|
33 |
DESCRIPTION="Compile .po files to .mo files" |
34 |
@@ -14,7 +14,10 @@ KEYWORDS="~amd64 ~x86" |
35 |
IUSE="test" |
36 |
|
37 |
RDEPEND="" |
38 |
-DEPEND=" |
39 |
- test? ( virtual/perl-Test-Simple )" |
40 |
+DEPEND="test? ( virtual/perl-Test-Simple )" |
41 |
|
42 |
-SRC_TEST=do |
43 |
+src_prepare() { |
44 |
+ sed -i -e 's/use inc::Module::Install::DSL/use lib q[.];\nuse inc::Module::Install::DSL/' Makefile.PL || |
45 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
46 |
+ perl-module_src_prepare |
47 |
+} |