diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-06-17 00:43:54 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-06-17 00:44:17 +0200 |
commit | e47ecec4ce5c1a86be9c8f3d98f793abd5717e92 (patch) | |
tree | 5515078f732f00731be78420394a2dc328423d48 /dev-perl/Term-Encoding | |
parent | dev-libs/dietlibc: use tc-enables-pie instead of gcc-specs-pie (diff) | |
download | gentoo-e47ecec4ce5c1a86be9c8f3d98f793abd5717e92.tar.gz gentoo-e47ecec4ce5c1a86be9c8f3d98f793abd5717e92.tar.bz2 gentoo-e47ecec4ce5c1a86be9c8f3d98f793abd5717e92.zip |
dev-perl/Term-Encoding: Add fix for Perl 5.26 no-dot-in-inc, bug 615686
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Term-Encoding')
-rw-r--r-- | dev-perl/Term-Encoding/Term-Encoding-0.20.0.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-perl/Term-Encoding/Term-Encoding-0.20.0.ebuild b/dev-perl/Term-Encoding/Term-Encoding-0.20.0.ebuild index be8d0588530c..d6e9d410f1d4 100644 --- a/dev-perl/Term-Encoding/Term-Encoding-0.20.0.ebuild +++ b/dev-perl/Term-Encoding/Term-Encoding-0.20.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -17,3 +17,9 @@ RDEPEND="" DEPEND="${RDEPEND} virtual/perl-ExtUtils-MakeMaker " + +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 +} |