commit:     506962d96e5e6f6a6e3111912aeafa22fe9400ad
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 23:32:31 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 23:32:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=506962d9

dev-perl/MooseX-Types-DateTime-ButMaintained: Add build fix for Perl 5.26, bug 
617142

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../MooseX-Types-DateTime-ButMaintained-0.160.0.ebuild  | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git 
a/dev-perl/MooseX-Types-DateTime-ButMaintained/MooseX-Types-DateTime-ButMaintained-0.160.0.ebuild
 
b/dev-perl/MooseX-Types-DateTime-ButMaintained/MooseX-Types-DateTime-ButMaintained-0.160.0.ebuild
index de1ef9c2935..ee7bef5ed59 100644
--- 
a/dev-perl/MooseX-Types-DateTime-ButMaintained/MooseX-Types-DateTime-ButMaintained-0.160.0.ebuild
+++ 
b/dev-perl/MooseX-Types-DateTime-ButMaintained/MooseX-Types-DateTime-ButMaintained-0.160.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-MODULE_AUTHOR=ECARROLL
-MODULE_VERSION=0.16
+DIST_AUTHOR=ECARROLL
+DIST_VERSION=0.16
 inherit perl-module
 
 DESCRIPTION="DateTime related constraints and coercions for Moose"
@@ -31,6 +31,11 @@ DEPEND="${RDEPEND}
                >=dev-perl/Test-Exception-0.27
                >=virtual/perl-Test-Simple-1.1.10
                >=dev-perl/Time-Duration-Parse-0.06
-       )"
+       )
+"
 
-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
+}

Reply via email to