Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Monitoring-Plugin/
Date: Mon, 26 Jun 2017 19:50:05
Message-Id: 1498506590.0a5a3b40bcb798be9abb5c513fca7e6cf4312b58.dilfridge@gentoo
1 commit: 0a5a3b40bcb798be9abb5c513fca7e6cf4312b58
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 26 19:49:50 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 26 19:49:50 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a5a3b40
7
8 dev-perl/Monitoring-Plugin: Add build fix for Perl 5.26, bug 617116
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-perl/Monitoring-Plugin/Monitoring-Plugin-0.390.0.ebuild | 12 ++++++++----
13 1 file changed, 8 insertions(+), 4 deletions(-)
14
15 diff --git a/dev-perl/Monitoring-Plugin/Monitoring-Plugin-0.390.0.ebuild b/dev-perl/Monitoring-Plugin/Monitoring-Plugin-0.390.0.ebuild
16 index 0114d26c50a..657271f5d51 100644
17 --- a/dev-perl/Monitoring-Plugin/Monitoring-Plugin-0.390.0.ebuild
18 +++ b/dev-perl/Monitoring-Plugin/Monitoring-Plugin-0.390.0.ebuild
19 @@ -1,10 +1,10 @@
20 # Copyright 1999-2017 Gentoo Foundation
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=5
24 +EAPI=6
25
26 -MODULE_AUTHOR=NIERLEIN
27 -MODULE_VERSION=0.39
28 +DIST_AUTHOR=NIERLEIN
29 +DIST_VERSION=0.39
30 inherit perl-module
31
32 DESCRIPTION="Modules to streamline Nagios, Icinga, Shinken, etc. plugins"
33 @@ -26,4 +26,8 @@ DEPEND="${RDEPEND}
34 test? ( >=virtual/perl-Test-Simple-0.620.0 )
35 "
36
37 -SRC_TEST="do parallel"
38 +src_prepare() {
39 + sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL ||
40 + die "Can't patch Makefile.PL for 5.26 dot-in-inc"
41 + perl-module_src_prepare
42 +}