1 |
commit: 774e643c36a281ff3bdc963f913fd5b7fcd7b873 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 29 21:52:44 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 29 21:53:07 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=774e643c |
7 |
|
8 |
dev-perl/HTTP-Server-Simple-Mason: Fix build with Perl 5.26, bug 616984 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
.../HTTP-Server-Simple-Mason-0.140.0-r1.ebuild | 24 ++++++++++++++-------- |
13 |
1 file changed, 15 insertions(+), 9 deletions(-) |
14 |
|
15 |
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 |
16 |
index dcad3f1a35e..7fe36dbbefe 100644 |
17 |
--- a/dev-perl/HTTP-Server-Simple-Mason/HTTP-Server-Simple-Mason-0.140.0-r1.ebuild |
18 |
+++ b/dev-perl/HTTP-Server-Simple-Mason/HTTP-Server-Simple-Mason-0.140.0-r1.ebuild |
19 |
@@ -1,10 +1,10 @@ |
20 |
-# Copyright 1999-2014 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI=6 |
26 |
|
27 |
-MODULE_AUTHOR=JESSE |
28 |
-MODULE_VERSION=0.14 |
29 |
+DIST_AUTHOR=JESSE |
30 |
+DIST_VERSION=0.14 |
31 |
inherit perl-module |
32 |
|
33 |
DESCRIPTION="An abstract baseclass for a standalone mason server" |
34 |
@@ -13,11 +13,17 @@ SLOT="0" |
35 |
KEYWORDS="amd64 ~ppc x86" |
36 |
IUSE="" |
37 |
|
38 |
-DEPEND="dev-perl/Hook-LexWrap |
39 |
+RDEPEND=" |
40 |
+ dev-perl/Hook-LexWrap |
41 |
dev-perl/URI |
42 |
dev-perl/libwww-perl |
43 |
- >=dev-perl/HTML-Mason-1.25 |
44 |
- >=dev-perl/HTTP-Server-Simple-0.04" |
45 |
-RDEPEND="${DEPEND}" |
46 |
+ >=dev-perl/HTML-Mason-1.250.0 |
47 |
+ >=dev-perl/HTTP-Server-Simple-0.40.0 |
48 |
+" |
49 |
+DEPEND="${RDEPEND}" |
50 |
|
51 |
-SRC_TEST="do" |
52 |
+src_prepare() { |
53 |
+ sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL || |
54 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
55 |
+ perl-module_src_prepare |
56 |
+} |