diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-07-02 17:23:08 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-07-02 17:23:08 +0200 |
commit | fa63a808a895435116b197c6b61c27cc0bf3f08d (patch) | |
tree | d1d1fdff28c3f55a48a79840c40544da7b14b5aa /dev-perl/Pod-Readme | |
parent | dev-perl/Pod-Readme: Remove old (diff) | |
download | gentoo-fa63a808a895435116b197c6b61c27cc0bf3f08d.tar.gz gentoo-fa63a808a895435116b197c6b61c27cc0bf3f08d.tar.bz2 gentoo-fa63a808a895435116b197c6b61c27cc0bf3f08d.zip |
dev-perl/Pod-Readme: Add build fix for Perl 5.26, bug 623074
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Pod-Readme')
-rw-r--r-- | dev-perl/Pod-Readme/Pod-Readme-1.1.2.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-perl/Pod-Readme/Pod-Readme-1.1.2.ebuild b/dev-perl/Pod-Readme/Pod-Readme-1.1.2.ebuild index dc3c3308d004..ed82024a6411 100644 --- a/dev-perl/Pod-Readme/Pod-Readme-1.1.2.ebuild +++ b/dev-perl/Pod-Readme/Pod-Readme-1.1.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -52,3 +52,9 @@ DEPEND="${RDEPEND} virtual/perl-Test-Simple ) " + +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 +} |