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/File-Flat/
Date: Tue, 20 Jun 2017 20:31:52
Message-Id: 1497990693.e7faff559ce716f060f9ec371b0b525144978d62.dilfridge@gentoo
1 commit: e7faff559ce716f060f9ec371b0b525144978d62
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 20 20:31:33 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 20 20:31:33 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7faff55
7
8 dev-perl/File-Flat: Fix build with Perl 5.26, bug 616840
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-perl/File-Flat/File-Flat-1.40.0-r1.ebuild | 14 +++++++++-----
13 1 file changed, 9 insertions(+), 5 deletions(-)
14
15 diff --git a/dev-perl/File-Flat/File-Flat-1.40.0-r1.ebuild b/dev-perl/File-Flat/File-Flat-1.40.0-r1.ebuild
16 index f0ece65d6c8..c4644274103 100644
17 --- a/dev-perl/File-Flat/File-Flat-1.40.0-r1.ebuild
18 +++ b/dev-perl/File-Flat/File-Flat-1.40.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=ADAMK
28 -MODULE_VERSION=1.04
29 +DIST_AUTHOR=ADAMK
30 +DIST_VERSION=1.04
31 inherit perl-module
32
33 DESCRIPTION="Implements a flat filesystem"
34 @@ -24,4 +24,8 @@ RDEPEND=">=dev-perl/Class-Autouse-1
35 >=dev-perl/prefork-0.02"
36 DEPEND="${RDEPEND}"
37
38 -SRC_TEST="do"
39 +src_prepare() {
40 + sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL ||
41 + die "Can't patch Makefile.PL for 5.26 dot-in-inc"
42 + perl-module_src_prepare
43 +}