summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-06-29 23:52:44 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-06-29 23:53:07 +0200
commit774e643c36a281ff3bdc963f913fd5b7fcd7b873 (patch)
tree0131fecb7e3bbfded671bcfd91cf71d95eb87bda /dev-perl/HTTP-Server-Simple-Mason
parentdev-perl/HTML-Quoted: Add build fix for Perl 5.26, bug 616970 (diff)
downloadgentoo-774e643c36a281ff3bdc963f913fd5b7fcd7b873.tar.gz
gentoo-774e643c36a281ff3bdc963f913fd5b7fcd7b873.tar.bz2
gentoo-774e643c36a281ff3bdc963f913fd5b7fcd7b873.zip
dev-perl/HTTP-Server-Simple-Mason: Fix build with Perl 5.26, bug 616984
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/HTTP-Server-Simple-Mason')
-rw-r--r--dev-perl/HTTP-Server-Simple-Mason/HTTP-Server-Simple-Mason-0.140.0-r1.ebuild24
1 files 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 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
+}