dev-perl/Module-Manifest: Add build fix for Perl 5.26, bug 617112
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Fri, 30 Jun 2017 22:58:06 +0000 (00:58 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Fri, 30 Jun 2017 22:58:06 +0000 (00:58 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-perl/Module-Manifest/Module-Manifest-1.80.0-r1.ebuild

index 0ca3ebba59e4f57a37b36e9d1c6385b465897930..9551af0c4ac3dcca855f409f5b596452e0582b98 100644 (file)
@@ -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
+}