aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2012-04-07 04:19:39 +0800
committeraz <az@FreeBSD.org>2012-04-07 04:19:39 +0800
commit420ec7519bc8353cf5b1321359ed73d4c9b8682a (patch)
tree88401acdc9b0a0c6415b4e6959e8c9d3a5e346ec /net
parent89a41ffb81681e8c4dd7ddbff60a324a25592b7c (diff)
downloadfreebsd-ports-gnome-420ec7519bc8353cf5b1321359ed73d4c9b8682a.tar.gz
freebsd-ports-gnome-420ec7519bc8353cf5b1321359ed73d4c9b8682a.tar.zst
freebsd-ports-gnome-420ec7519bc8353cf5b1321359ed73d4c9b8682a.zip
- adds dependencies which required for TEST_DEPENDS.
PR: ports/166705 Submitted by: Mel Flynn <rflynn@acsalaska.net> Feature safe: yes
Diffstat (limited to 'net')
-rw-r--r--net/p5-ZeroMQ/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/net/p5-ZeroMQ/Makefile b/net/p5-ZeroMQ/Makefile
index 4b6081743f17..efa68101ae08 100644
--- a/net/p5-ZeroMQ/Makefile
+++ b/net/p5-ZeroMQ/Makefile
@@ -25,7 +25,9 @@ LIB_DEPENDS= zmq.1:${PORTSDIR}/devel/zmq \
TEST_DEPENDS= p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \
p5-Test-Requires>=0.05:${PORTSDIR}/devel/p5-Test-Requires \
- p5-Test-TCP>=1.08:${PORTSDIR}/devel/p5-Test-TCP
+ p5-Test-TCP>=1.08:${PORTSDIR}/devel/p5-Test-TCP \
+ p5-AnyEvent>=0:${PORTSDIR}/devel/p5-AnyEvent \
+ p5-JSON>=2.00:${PORTSDIR}/converters/p5-JSON
USE_GNOME= pkgconfig
@@ -40,7 +42,13 @@ MAN3= \
ZeroMQ::Poller.3 \
ZeroMQ::Message.3
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501400
+TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
post-patch:
@${PERL} -pi -e "s/lib => 'zmq',//" ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>