diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-07-01 00:51:06 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-07-01 00:51:06 +0200 |
commit | d6dd68a471659ba812f5fe9526b1c2f181ff7b32 (patch) | |
tree | 377524eafea4a0dec43673c837323a77fb2579a6 /dev-perl/Locale-Msgfmt | |
parent | dev-perl/LaTeX-Driver: Add dependency on LaTeX (diff) | |
download | gentoo-d6dd68a471659ba812f5fe9526b1c2f181ff7b32.tar.gz gentoo-d6dd68a471659ba812f5fe9526b1c2f181ff7b32.tar.bz2 gentoo-d6dd68a471659ba812f5fe9526b1c2f181ff7b32.zip |
dev-perl/Locale-Msgfmt: Add build fix for Perl 5.26, bug 617102
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Locale-Msgfmt')
-rw-r--r-- | dev-perl/Locale-Msgfmt/Locale-Msgfmt-0.150.0-r1.ebuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/dev-perl/Locale-Msgfmt/Locale-Msgfmt-0.150.0-r1.ebuild b/dev-perl/Locale-Msgfmt/Locale-Msgfmt-0.150.0-r1.ebuild index 3e15b6952a39..b7d72d4bcb7b 100644 --- a/dev-perl/Locale-Msgfmt/Locale-Msgfmt-0.150.0-r1.ebuild +++ b/dev-perl/Locale-Msgfmt/Locale-Msgfmt-0.150.0-r1.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=AZAWAWI -MODULE_VERSION=0.15 +DIST_AUTHOR=AZAWAWI +DIST_VERSION=0.15 inherit perl-module DESCRIPTION="Compile .po files to .mo files" @@ -14,7 +14,10 @@ KEYWORDS="~amd64 ~x86" IUSE="test" RDEPEND="" -DEPEND=" - test? ( virtual/perl-Test-Simple )" +DEPEND="test? ( virtual/perl-Test-Simple )" -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 +} |