summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-06-29 23:58:23 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-06-29 23:58:23 +0200
commit83105e2e7d3aff5f08b4578709aecced4e4bb318 (patch)
treef3530583a6b7adf0d8e691a1da00a8ee67e082cf /dev-perl/LWP-Authen-Wsse
parentdev-perl/HTTP-Server-Simple-Mason: Fix build with Perl 5.26, bug 616984 (diff)
downloadgentoo-83105e2e7d3aff5f08b4578709aecced4e4bb318.tar.gz
gentoo-83105e2e7d3aff5f08b4578709aecced4e4bb318.tar.bz2
gentoo-83105e2e7d3aff5f08b4578709aecced4e4bb318.zip
dev-perl/LWP-Authen-Wsse: Add build fix for Perl 5.26, bug 617008
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/LWP-Authen-Wsse')
-rw-r--r--dev-perl/LWP-Authen-Wsse/LWP-Authen-Wsse-0.50.0-r1.ebuild20
1 files changed, 13 insertions, 7 deletions
diff --git a/dev-perl/LWP-Authen-Wsse/LWP-Authen-Wsse-0.50.0-r1.ebuild b/dev-perl/LWP-Authen-Wsse/LWP-Authen-Wsse-0.50.0-r1.ebuild
index 98ea60ef9eea..a6448f84dce1 100644
--- a/dev-perl/LWP-Authen-Wsse/LWP-Authen-Wsse-0.50.0-r1.ebuild
+++ b/dev-perl/LWP-Authen-Wsse/LWP-Authen-Wsse-0.50.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=AUTRIJUS
-MODULE_VERSION=0.05
+DIST_AUTHOR=AUTRIJUS
+DIST_VERSION=0.05
inherit perl-module
DESCRIPTION="Library for enabling X-WSSE authentication in LWP"
@@ -13,8 +13,14 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
-RDEPEND="virtual/perl-MIME-Base64
- dev-perl/Digest-SHA1"
+RDEPEND="
+ virtual/perl-MIME-Base64
+ dev-perl/Digest-SHA1
+"
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
+}