dev-perl/ZMQ-LibZMQ3: Add build fix for Perl 5.26, bug 623202

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

View File

@@ -1,10 +1,10 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=6
MODULE_AUTHOR=DMAKI
MODULE_VERSION=1.19
DIST_AUTHOR=DMAKI
DIST_VERSION=1.19
inherit perl-module
DESCRIPTION="A libzmq 3.x wrapper for Perl"
@@ -30,4 +30,8 @@ DEPEND="${RDEPEND}
)
"
SRC_TEST=do
src_prepare() {
sed -i -e 's/Otherwise, do the usual./Otherwise, do the usual.\nuse lib q[.];/' Makefile.PL ||
die "Can't patch Makefile.PL for 5.26 dot-in-inc"
perl-module_src_prepare
}