commit:     774e643c36a281ff3bdc963f913fd5b7fcd7b873
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 29 21:52:44 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Jun 29 21:53:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=774e643c

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(-)

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 dcad3f1a35e..7fe36dbbefe 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
+}

Reply via email to