aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-Pcap/Makefile
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2012-05-09 11:22:20 +0000
committerSteve Wills <swills@FreeBSD.org>2012-05-09 11:22:20 +0000
commita543cedb7c53bdd978767c030e71a79206020920 (patch)
treef4ad1eb70888f6f2491a5d1e1fc635b8ca3f5005 /net/p5-Net-Pcap/Makefile
parentad8705da01739bfd3a9f1127f6b62db8442fb569 (diff)
Notes
Diffstat (limited to 'net/p5-Net-Pcap/Makefile')
-rw-r--r--net/p5-Net-Pcap/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/p5-Net-Pcap/Makefile b/net/p5-Net-Pcap/Makefile
index 49e7d1af9870..21b30754f79f 100644
--- a/net/p5-Net-Pcap/Makefile
+++ b/net/p5-Net-Pcap/Makefile
@@ -15,10 +15,18 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Interface to pcap(3) LBL packet capture library
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/IO/Interface.pm:${PORTSDIR}/net/p5-IO-Interface
+TEST_DEPENDS= p5-Socket>=0:${PORTSDIR}/net/p5-Socket \
+ p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
PERL_CONFIGURE= yes
MAN1= pcapinfo.1
MAN3= Net::Pcap.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 800000
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-t__03-openlive.t
+.endif
+
+.include <bsd.port.post.mk>