summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-03 23:17:29 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-03 23:17:29 +0200
commitffdca42d4cbf750662f5af0a721b3457b1d8f5ee (patch)
treef620937a7fe252d2be353138b5ad922461fb1712 /dev-perl/Parse-ErrorString-Perl
parentdev-perl/PPIx-EditorTools: Add build fix for Perl 5.26, bug 623082 (diff)
downloadgentoo-ffdca42d4cbf750662f5af0a721b3457b1d8f5ee.tar.gz
gentoo-ffdca42d4cbf750662f5af0a721b3457b1d8f5ee.tar.bz2
gentoo-ffdca42d4cbf750662f5af0a721b3457b1d8f5ee.zip
dev-perl/Parse-ErrorString-Perl: Add build fix for Perl 5.26, bug 623086
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Parse-ErrorString-Perl')
-rw-r--r--dev-perl/Parse-ErrorString-Perl/Parse-ErrorString-Perl-0.220.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-perl/Parse-ErrorString-Perl/Parse-ErrorString-Perl-0.220.0.ebuild b/dev-perl/Parse-ErrorString-Perl/Parse-ErrorString-Perl-0.220.0.ebuild
index 5fdd5edc1a84..0b2fe9e56211 100644
--- a/dev-perl/Parse-ErrorString-Perl/Parse-ErrorString-Perl-0.220.0.ebuild
+++ b/dev-perl/Parse-ErrorString-Perl/Parse-ErrorString-Perl-0.220.0.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
@@ -27,3 +27,9 @@ DEPEND="${RDEPEND}
>=virtual/perl-Test-Simple-0.470.0
)
"
+
+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
+}