summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-01 00:58:06 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-01 00:58:06 +0200
commit89e2664610586824818450f0672e7a98d10e8559 (patch)
treec90f37dcb805d30b2b9217fb61856372e5fd843c /dev-perl/Module-Manifest
parentdev-perl/Mail-Mbox-MessageParser: Add build fix for Perl 5.26, bug 617108 (diff)
downloadgentoo-89e2664610586824818450f0672e7a98d10e8559.tar.gz
gentoo-89e2664610586824818450f0672e7a98d10e8559.tar.bz2
gentoo-89e2664610586824818450f0672e7a98d10e8559.zip
dev-perl/Module-Manifest: Add build fix for Perl 5.26, bug 617112
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Module-Manifest')
-rw-r--r--dev-perl/Module-Manifest/Module-Manifest-1.80.0-r1.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/dev-perl/Module-Manifest/Module-Manifest-1.80.0-r1.ebuild b/dev-perl/Module-Manifest/Module-Manifest-1.80.0-r1.ebuild
index 0ca3ebba59e4..9551af0c4ac3 100644
--- a/dev-perl/Module-Manifest/Module-Manifest-1.80.0-r1.ebuild
+++ b/dev-perl/Module-Manifest/Module-Manifest-1.80.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=ADAMK
-MODULE_VERSION=1.08
+DIST_AUTHOR=ADAMK
+DIST_VERSION=1.08
inherit perl-module
DESCRIPTION="Parse and examine a Perl distribution MANIFEST file"
@@ -25,4 +25,8 @@ DEPEND="
)
"
-SRC_TEST=do
+src_prepare() {
+ sed -i -e 's/use inc::Module::Install::DSL/use lib q[.];\nuse inc::Module::Install::DSL/' Makefile.PL ||
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+ perl-module_src_prepare
+}