summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-03 00:59:37 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-03 00:59:37 +0200
commite21ec60345e3c8158ca18c5d1f6ee30c3b1e5b3f (patch)
tree92f5103f1ad5c30510bb835f6c7fbf5d2cd1cf73 /dev-perl/XML-Atom
parentdev-perl/Validate-Net: Add build fix for Perl 5.26, bug 623146 (diff)
downloadgentoo-e21ec60345e3c8158ca18c5d1f6ee30c3b1e5b3f.tar.gz
gentoo-e21ec60345e3c8158ca18c5d1f6ee30c3b1e5b3f.tar.bz2
gentoo-e21ec60345e3c8158ca18c5d1f6ee30c3b1e5b3f.zip
dev-perl/XML-Atom: Add build fix for Perl 5.26, bug 623182
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/XML-Atom')
-rw-r--r--dev-perl/XML-Atom/XML-Atom-0.410.0-r1.ebuild22
1 files changed, 14 insertions, 8 deletions
diff --git a/dev-perl/XML-Atom/XML-Atom-0.410.0-r1.ebuild b/dev-perl/XML-Atom/XML-Atom-0.410.0-r1.ebuild
index 6b4225c59ebe..a3494235295b 100644
--- a/dev-perl/XML-Atom/XML-Atom-0.410.0-r1.ebuild
+++ b/dev-perl/XML-Atom/XML-Atom-0.410.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=MIYAGAWA
-MODULE_VERSION=0.41
+DIST_AUTHOR=MIYAGAWA
+DIST_VERSION=0.41
inherit perl-module
DESCRIPTION="Atom feed and API implementation"
@@ -13,7 +13,8 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
-DEPEND="dev-perl/libwww-perl
+RDEPEND="
+ dev-perl/libwww-perl
dev-perl/URI
dev-perl/Class-Data-Inheritable
>=dev-perl/XML-LibXML-1.69
@@ -23,7 +24,12 @@ DEPEND="dev-perl/libwww-perl
dev-perl/Digest-SHA1
dev-perl/HTML-Parser
dev-perl/LWP-Authen-Wsse
- virtual/perl-MIME-Base64"
-RDEPEND="${DEPEND}"
+ virtual/perl-MIME-Base64
+"
+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
+}