diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-07-01 01:32:31 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-07-01 01:32:31 +0200 |
commit | 506962d96e5e6f6a6e3111912aeafa22fe9400ad (patch) | |
tree | fd49f2d4457bbb8d223821a8b5f85da067cb70e4 /dev-perl/MooseX-Types-DateTime-ButMaintained | |
parent | dev-perl/MogileFS-Client-Async: Add build fix for Perl 5.26, bug 617138 (diff) | |
download | gentoo-506962d96e5e6f6a6e3111912aeafa22fe9400ad.tar.gz gentoo-506962d96e5e6f6a6e3111912aeafa22fe9400ad.tar.bz2 gentoo-506962d96e5e6f6a6e3111912aeafa22fe9400ad.zip |
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
Diffstat (limited to 'dev-perl/MooseX-Types-DateTime-ButMaintained')
-rw-r--r-- | dev-perl/MooseX-Types-DateTime-ButMaintained/MooseX-Types-DateTime-ButMaintained-0.160.0.ebuild | 17 |
1 files 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 de1ef9c29358..ee7bef5ed599 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 +} |