Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/ExtUtils-AutoInstall/
Date: Mon, 26 Jun 2017 02:56:13
Message-Id: 1498445675.917f4c4a93c38adfd9a9a6dc6ce20aaef95f5849.kentnl@gentoo
1 commit: 917f4c4a93c38adfd9a9a6dc6ce20aaef95f5849
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 26 02:52:09 2017 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 26 02:54:35 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=917f4c4a
7
8 dev-perl/ExtUtils-AutoInstall: Fix for '.' in @INC re bug #615830
9
10 Generic Module::Install fix for 5.26
11
12 Bug: https://bugs.gentoo.org/615830
13 Package-Manager: Portage-2.3.6, Repoman-2.3.2
14
15 .../ExtUtils-AutoInstall/ExtUtils-AutoInstall-0.630.0-r1.ebuild | 8 +++++++-
16 1 file changed, 7 insertions(+), 1 deletion(-)
17
18 diff --git a/dev-perl/ExtUtils-AutoInstall/ExtUtils-AutoInstall-0.630.0-r1.ebuild b/dev-perl/ExtUtils-AutoInstall/ExtUtils-AutoInstall-0.630.0-r1.ebuild
19 index 0084a070603..7944b76c81f 100644
20 --- a/dev-perl/ExtUtils-AutoInstall/ExtUtils-AutoInstall-0.630.0-r1.ebuild
21 +++ b/dev-perl/ExtUtils-AutoInstall/ExtUtils-AutoInstall-0.630.0-r1.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2014 Gentoo Foundation
24 +# Copyright 1999-2017 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=5
28 @@ -19,6 +19,12 @@ IUSE=""
29 RDEPEND="dev-perl/Sort-Versions"
30 DEPEND="${RDEPEND}"
31
32 +src_prepare() {
33 + sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL ||
34 + die "Can't patch Makefile.PL for 5.26 dot-in-inc"
35 + perl-module_src_prepare
36 +}
37 +
38 src_compile() {
39 echo "n" | perl-module_src_compile
40 }