[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-commits
Subject:    [gentoo-commits] repo/gentoo:master commit in: dev-perl/MogileFS-Client-Async/
From:       "Andreas Hüttel" <dilfridge () gentoo ! org>
Date:       2017-06-30 23:29:09
Message-ID: 1498865337.344f02daef95220239bcb170d4fdc081a90499bd.dilfridge () gentoo
[Download RAW message or body]

commit:     344f02daef95220239bcb170d4fdc081a90499bd
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 23:28:57 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 23:28:57 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=344f02da

dev-perl/MogileFS-Client-Async: Add build fix for Perl 5.26, bug 617138

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../MogileFS-Client-Async-0.030.0-r1.ebuild        | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/dev-perl/MogileFS-Client-Async/MogileFS-Client-Async-0.030.0-r1.ebuild \
b/dev-perl/MogileFS-Client-Async/MogileFS-Client-Async-0.030.0-r1.ebuild index \
                a3d5766e320..47d6e47d6de 100644
--- a/dev-perl/MogileFS-Client-Async/MogileFS-Client-Async-0.030.0-r1.ebuild
+++ b/dev-perl/MogileFS-Client-Async/MogileFS-Client-Async-0.030.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-MODULE_AUTHOR=DLAMBLEY
-MODULE_VERSION=${PV%.0}
+DIST_AUTHOR=DLAMBLEY
+DIST_VERSION=${PV%.0}
 inherit perl-module
 
 DESCRIPTION="MogileFS Client using AnyEvent non-blocking IO"
@@ -13,14 +13,22 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-RDEPEND="dev-perl/IO-AIO
+RDEPEND="
+	dev-perl/IO-AIO
 	dev-perl/AnyEvent
 	dev-perl/AnyEvent-HTTP
 	dev-perl/File-Slurp
 	>=dev-perl/MogileFS-Client-1.16
 	dev-perl/Try-Tiny
-	dev-perl/namespace-clean"
+	dev-perl/namespace-clean
+"
 DEPEND="${RDEPEND}"
 
 # Tests only available if you have a local mogilefsd on 127.0.0.1:7001
-#SRC_TEST="do"
+DIST_TEST=skip
+
+src_prepare() {
+	sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' \
Makefile.PL || +		die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+	perl-module_src_prepare
+}


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic