dev-perl/ZMQ-LibZMQ2: Add build fix for Perl 5.26, bug 623200

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Andreas K. Huettel
2017-07-05 19:05:49 +02:00
parent e27210c19b
commit 33f67641f6

View File

@@ -31,3 +31,9 @@ DEPEND="${RDEPEND}
>=virtual/perl-Test-Simple-0.980.0
)
"
src_prepare() {
sed -i -e 's/^BEGIN {/use lib q[.];\nBEGIN {/' Makefile.PL ||
die "Can't patch Makefile.PL for 5.26 dot-in-inc"
perl-module_src_prepare
}