summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel <dilfridge@gentoo.org>2017-07-05 18:55:58 +0200
committerAndreas K. Huettel <dilfridge@gentoo.org>2017-07-05 18:55:58 +0200
commitbe16c4b7f315c540f5de73aaa661a106c68e2379 (patch)
tree1e437fac60b7d2daf6ce5d76c50eea5ccf14b37e /dev-perl/Net-Server-Coro
parentdev-perl/ORLite: Add build fix for Perl 5.26, bug 623056 (diff)
downloadgentoo-be16c4b7f315c540f5de73aaa661a106c68e2379.tar.gz
gentoo-be16c4b7f315c540f5de73aaa661a106c68e2379.tar.bz2
gentoo-be16c4b7f315c540f5de73aaa661a106c68e2379.zip
dev-perl/Net-Server-Coro: Add build fix for Perl 5.26, bug 623010
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Net-Server-Coro')
-rw-r--r--dev-perl/Net-Server-Coro/Net-Server-Coro-1.300.0-r1.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/dev-perl/Net-Server-Coro/Net-Server-Coro-1.300.0-r1.ebuild b/dev-perl/Net-Server-Coro/Net-Server-Coro-1.300.0-r1.ebuild
index 3785e3dd5397..0a4bc89181c8 100644
--- a/dev-perl/Net-Server-Coro/Net-Server-Coro-1.300.0-r1.ebuild
+++ b/dev-perl/Net-Server-Coro/Net-Server-Coro-1.300.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-MODULE_AUTHOR=ALEXMV
-MODULE_VERSION=1.3
+DIST_AUTHOR=ALEXMV
+DIST_VERSION=1.3
inherit perl-module
DESCRIPTION="A co-operative multithreaded server using Coro"
@@ -24,4 +24,8 @@ RDEPEND="
"
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
+}