blob: d3403124af3f0f5077dd4ef3231b38c632703ae1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=DMAKI
DIST_VERSION=1.19
inherit perl-module
DESCRIPTION="A libzmq 3.x wrapper for Perl"
SLOT="0"
KEYWORDS="amd64 hppa ppc ppc64 x86"
IUSE="test"
RDEPEND="
=net-libs/zeromq-3*
dev-perl/ZMQ-Constants
virtual/perl-XSLoader
"
DEPEND="${RDEPEND}
dev-perl/Task-Weaken
virtual/perl-ExtUtils-MakeMaker
virtual/pkgconfig
test? (
dev-perl/Test-Requires
dev-perl/Test-Fatal
dev-perl/Test-TCP
virtual/perl-Test-Simple
)
"
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
}
|