diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-07-01 01:28:57 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-07-01 01:28:57 +0200 |
commit | 344f02daef95220239bcb170d4fdc081a90499bd (patch) | |
tree | 41f36d7a766c19c7425e1d6121d5c48799881ffb /dev-perl/MogileFS-Client-Async/MogileFS-Client-Async-0.030.0-r1.ebuild | |
parent | dev-perl/Math-BigInt-Lite: Add build fix for Perl 5.26, bug 617134 (diff) | |
download | gentoo-344f02daef95220239bcb170d4fdc081a90499bd.tar.gz gentoo-344f02daef95220239bcb170d4fdc081a90499bd.tar.bz2 gentoo-344f02daef95220239bcb170d4fdc081a90499bd.zip |
dev-perl/MogileFS-Client-Async: Add build fix for Perl 5.26, bug 617138
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/MogileFS-Client-Async/MogileFS-Client-Async-0.030.0-r1.ebuild')
-rw-r--r-- | dev-perl/MogileFS-Client-Async/MogileFS-Client-Async-0.030.0-r1.ebuild | 22 |
1 files 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 a3d5766e320b..47d6e47d6dee 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 +} |