summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-03 00:54:28 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-03 00:54:28 +0200
commit505d160fde09e78f7aef4a5e63c808b29a8aa702 (patch)
treea30067688f65b5f5a800e8d2070d6def63dd6e3f /dev-perl
parentdev-perl/Test-utf8: Add build fix for Perl 5.26, bug 623136 (diff)
downloadgentoo-505d160fde09e78f7aef4a5e63c808b29a8aa702.tar.gz
gentoo-505d160fde09e78f7aef4a5e63c808b29a8aa702.tar.bz2
gentoo-505d160fde09e78f7aef4a5e63c808b29a8aa702.zip
dev-perl/Text-FindIndent: Add build fix for Perl 5.26, bug 623138
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/Text-FindIndent/Text-FindIndent-0.110.0.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-perl/Text-FindIndent/Text-FindIndent-0.110.0.ebuild b/dev-perl/Text-FindIndent/Text-FindIndent-0.110.0.ebuild
index 6776d35a7a18..2c24f3f759d2 100644
--- a/dev-perl/Text-FindIndent/Text-FindIndent-0.110.0.ebuild
+++ b/dev-perl/Text-FindIndent/Text-FindIndent-0.110.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
@@ -16,4 +16,11 @@ IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.360.0
- test? ( >=virtual/perl-Test-Simple-0.800.0 )"
+ test? ( >=virtual/perl-Test-Simple-0.800.0 )
+"
+
+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
+}