summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel <dilfridge@gentoo.org>2017-07-05 19:05:49 +0200
committerAndreas K. Huettel <dilfridge@gentoo.org>2017-07-05 19:05:49 +0200
commit33f67641f6d75ed1b0e83f13d9a363e7908a581b (patch)
tree03d09ac8d04756cdac27314ae7b3d2ca7d51f2a5 /dev-perl/ZMQ-LibZMQ2
parentdev-perl/ZMQ-LibZMQ3: Add build fix for Perl 5.26, bug 623202 (diff)
downloadgentoo-33f67641f6d75ed1b0e83f13d9a363e7908a581b.tar.gz
gentoo-33f67641f6d75ed1b0e83f13d9a363e7908a581b.tar.bz2
gentoo-33f67641f6d75ed1b0e83f13d9a363e7908a581b.zip
dev-perl/ZMQ-LibZMQ2: Add build fix for Perl 5.26, bug 623200
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/ZMQ-LibZMQ2')
-rw-r--r--dev-perl/ZMQ-LibZMQ2/ZMQ-LibZMQ2-1.90.0.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-perl/ZMQ-LibZMQ2/ZMQ-LibZMQ2-1.90.0.ebuild b/dev-perl/ZMQ-LibZMQ2/ZMQ-LibZMQ2-1.90.0.ebuild
index 2049d953b95a..b6b8a021c46b 100644
--- a/dev-perl/ZMQ-LibZMQ2/ZMQ-LibZMQ2-1.90.0.ebuild
+++ b/dev-perl/ZMQ-LibZMQ2/ZMQ-LibZMQ2-1.90.0.ebuild
@@ -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
+}