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/Data-Random/
Date: Sun, 25 Jun 2017 08:03:54
Message-Id: 1498377803.4e4a33c61e0f5f3e5417a4ef76431fa04dbdde35.kentnl@gentoo
1 commit: 4e4a33c61e0f5f3e5417a4ef76431fa04dbdde35
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 25 08:02:52 2017 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 25 08:03:23 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e4a33c6
7
8 dev-perl/Data-Random: Fix for '.' in @INC re bug #615588
9
10 Generic Module::Install fix
11
12 Bug: https://bugs.gentoo.org/615588
13 Package-Manager: Portage-2.3.6, Repoman-2.3.2
14
15 dev-perl/Data-Random/Data-Random-0.120.0.ebuild | 6 +++++-
16 dev-perl/Data-Random/Data-Random-0.80.0.ebuild | 5 ++++-
17 2 files changed, 9 insertions(+), 2 deletions(-)
18
19 diff --git a/dev-perl/Data-Random/Data-Random-0.120.0.ebuild b/dev-perl/Data-Random/Data-Random-0.120.0.ebuild
20 index 564f615c2dc..8c782a1033b 100644
21 --- a/dev-perl/Data-Random/Data-Random-0.120.0.ebuild
22 +++ b/dev-perl/Data-Random/Data-Random-0.120.0.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2016 Gentoo Foundation
25 +# Copyright 1999-2017 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=6
29 @@ -29,6 +29,10 @@ src_prepare() {
30 sed -i -e '/jsonmeta;/d' \
31 -e '/githubmeta;/d' \
32 Makefile.PL || die
33 +
34 + sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL ||
35 + die "Can't patch Makefile.PL for 5.26 dot-in-inc"
36 +
37 perl-module_src_prepare
38 }
39
40
41 diff --git a/dev-perl/Data-Random/Data-Random-0.80.0.ebuild b/dev-perl/Data-Random/Data-Random-0.80.0.ebuild
42 index e0de76d3bdc..e66ad2c5b90 100644
43 --- a/dev-perl/Data-Random/Data-Random-0.80.0.ebuild
44 +++ b/dev-perl/Data-Random/Data-Random-0.80.0.ebuild
45 @@ -1,4 +1,4 @@
46 -# Copyright 1999-2016 Gentoo Foundation
47 +# Copyright 1999-2017 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49
50 EAPI=5
51 @@ -26,6 +26,9 @@ src_prepare() {
52 -e '/^META.yml/d' \
53 MANIFEST || die
54
55 + sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL ||
56 + die "Can't patch Makefile.PL for 5.26 dot-in-inc"
57 +
58 perl-module_src_prepare
59 }