From 774e643c36a281ff3bdc963f913fd5b7fcd7b873 Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Thu, 29 Jun 2017 23:52:44 +0200 Subject: dev-perl/HTTP-Server-Simple-Mason: Fix build with Perl 5.26, bug 616984 Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- .../HTTP-Server-Simple-Mason-0.140.0-r1.ebuild | 24 ++++++++++++++-------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'dev-perl/HTTP-Server-Simple-Mason') diff --git a/dev-perl/HTTP-Server-Simple-Mason/HTTP-Server-Simple-Mason-0.140.0-r1.ebuild b/dev-perl/HTTP-Server-Simple-Mason/HTTP-Server-Simple-Mason-0.140.0-r1.ebuild index dcad3f1a35e8..7fe36dbbefe7 100644 --- a/dev-perl/HTTP-Server-Simple-Mason/HTTP-Server-Simple-Mason-0.140.0-r1.ebuild +++ b/dev-perl/HTTP-Server-Simple-Mason/HTTP-Server-Simple-Mason-0.140.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=JESSE -MODULE_VERSION=0.14 +DIST_AUTHOR=JESSE +DIST_VERSION=0.14 inherit perl-module DESCRIPTION="An abstract baseclass for a standalone mason server" @@ -13,11 +13,17 @@ SLOT="0" KEYWORDS="amd64 ~ppc x86" IUSE="" -DEPEND="dev-perl/Hook-LexWrap +RDEPEND=" + dev-perl/Hook-LexWrap dev-perl/URI dev-perl/libwww-perl - >=dev-perl/HTML-Mason-1.25 - >=dev-perl/HTTP-Server-Simple-0.04" -RDEPEND="${DEPEND}" + >=dev-perl/HTML-Mason-1.250.0 + >=dev-perl/HTTP-Server-Simple-0.40.0 +" +DEPEND="${RDEPEND}" -SRC_TEST="do" +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 +} -- cgit v1.2.3-65-gdbad