Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Olson-Abbreviations/
Date: Mon, 26 Jun 2017 20:00:26
Message-Id: 1498507218.594876bd35d46eb8873eb93b26714d514f961eb2.dilfridge@gentoo
1 commit: 594876bd35d46eb8873eb93b26714d514f961eb2
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 26 20:00:00 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 26 20:00:18 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=594876bd
7
8 dev-perl/Olson-Abbreviations: Add build fix for Perl 5.26, bug 617140
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 .../Olson-Abbreviations-0.40.0.ebuild | 17 ++++++++---------
13 1 file changed, 8 insertions(+), 9 deletions(-)
14
15 diff --git a/dev-perl/Olson-Abbreviations/Olson-Abbreviations-0.40.0.ebuild b/dev-perl/Olson-Abbreviations/Olson-Abbreviations-0.40.0.ebuild
16 index c55cdf8999f..1cabdda601b 100644
17 --- a/dev-perl/Olson-Abbreviations/Olson-Abbreviations-0.40.0.ebuild
18 +++ b/dev-perl/Olson-Abbreviations/Olson-Abbreviations-0.40.0.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=ECARROLL
28 -MODULE_VERSION=0.04
29 +DIST_AUTHOR=ECARROLL
30 +DIST_VERSION=0.04
31 inherit perl-module
32
33 DESCRIPTION="Globally unique timezones abbreviation handling"
34 @@ -22,10 +22,9 @@ DEPEND="${RDEPEND}
35 test? ( virtual/perl-Test-Simple )
36 "
37
38 -SRC_TEST=do
39 -
40 -# MI's fault
41 -src_configure() {
42 +src_prepare() {
43 + sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL ||
44 + die "Can't patch Makefile.PL for 5.26 dot-in-inc"
45 + perl-module_src_prepare
46 use test && perl_rm_files t/pod.t t/pod-coverage.t
47 - perl-module_src_configure
48 }