diff options
author | Andreas K. Huettel <dilfridge@gentoo.org> | 2017-07-05 19:05:49 +0200 |
---|---|---|
committer | Andreas K. Huettel <dilfridge@gentoo.org> | 2017-07-05 19:05:49 +0200 |
commit | 33f67641f6d75ed1b0e83f13d9a363e7908a581b (patch) | |
tree | 03d09ac8d04756cdac27314ae7b3d2ca7d51f2a5 /dev-perl/ZMQ-LibZMQ2 | |
parent | dev-perl/ZMQ-LibZMQ3: Add build fix for Perl 5.26, bug 623202 (diff) | |
download | gentoo-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.ebuild | 6 |
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 +} |