From: Andreas K. Hüttel Date: Fri, 30 Jun 2017 22:58:06 +0000 (+0200) Subject: dev-perl/Module-Manifest: Add build fix for Perl 5.26, bug 617112 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=89e2664610586824818450f0672e7a98d10e8559;p=gentoo.git dev-perl/Module-Manifest: Add build fix for Perl 5.26, bug 617112 Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- 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 +}