summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel <dilfridge@gentoo.org>2017-07-05 18:49:49 +0200
committerAndreas K. Huettel <dilfridge@gentoo.org>2017-07-05 18:49:49 +0200
commitf0868eae67c07a20abe6aa45e96c009203840f36 (patch)
treebbe157c9f1159ef970c8a757bcdbf6ba2c3fd9bd /dev-perl/Parallel-Prefork
parentdev-php/agavi: Remove executable bit from supporting file (diff)
downloadgentoo-f0868eae67c07a20abe6aa45e96c009203840f36.tar.gz
gentoo-f0868eae67c07a20abe6aa45e96c009203840f36.tar.bz2
gentoo-f0868eae67c07a20abe6aa45e96c009203840f36.zip
dev-perl/Parallel-Prefork: Add build fix for Perl 5.26, bug 623064
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Parallel-Prefork')
-rw-r--r--dev-perl/Parallel-Prefork/Parallel-Prefork-0.180.0.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-perl/Parallel-Prefork/Parallel-Prefork-0.180.0.ebuild b/dev-perl/Parallel-Prefork/Parallel-Prefork-0.180.0.ebuild
index f4cbe3523a2..d402ddf167d 100644
--- a/dev-perl/Parallel-Prefork/Parallel-Prefork-0.180.0.ebuild
+++ b/dev-perl/Parallel-Prefork/Parallel-Prefork-0.180.0.ebuild
@@ -27,3 +27,9 @@ DEPEND="${RDEPEND}
dev-perl/Test-SharedFork
)
"
+
+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
+}