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/XML-AutoWriter/
Date: Fri, 07 Jul 2017 22:14:38
Message-Id: 1499465668.3771d9ac89b69f274724697aab62932e29224b4c.dilfridge@gentoo
1 commit: 3771d9ac89b69f274724697aab62932e29224b4c
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 7 22:14:28 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 7 22:14:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3771d9ac
7
8 dev-perl/XML-AutoWriter: Add build fix for Perl 5.26, bug 623184
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-perl/XML-AutoWriter/XML-AutoWriter-0.400.0-r1.ebuild | 14 ++++++++------
13 1 file changed, 8 insertions(+), 6 deletions(-)
14
15 diff --git a/dev-perl/XML-AutoWriter/XML-AutoWriter-0.400.0-r1.ebuild b/dev-perl/XML-AutoWriter/XML-AutoWriter-0.400.0-r1.ebuild
16 index 63c93f19fb3..77d70162356 100644
17 --- a/dev-perl/XML-AutoWriter/XML-AutoWriter-0.400.0-r1.ebuild
18 +++ b/dev-perl/XML-AutoWriter/XML-AutoWriter-0.400.0-r1.ebuild
19 @@ -1,10 +1,10 @@
20 -# Copyright 1999-2014 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=PERIGRIN
28 -MODULE_VERSION=0.4
29 +DIST_AUTHOR=PERIGRIN
30 +DIST_VERSION=0.4
31 inherit perl-module
32
33 DESCRIPTION="DOCTYPE based XML output"
34 @@ -17,9 +17,11 @@ IUSE=""
35 RDEPEND="dev-perl/XML-Parser"
36 DEPEND="${RDEPEND}"
37
38 -SRC_TEST="do"
39 -
40 src_prepare() {
41 sed -i '/^auto_set_repository/d' Makefile.PL || die
42 +
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 +
46 perl-module_src_prepare
47 }