aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-Pcap
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2005-09-30 17:35:39 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2005-09-30 17:35:39 +0000
commitef33edd1aa3b6209a74365563985e3ac9dca525f (patch)
tree6078f51d31e50b2271bb92200c242b12d90732be /net/p5-Net-Pcap
parent8d791db05db516ff77d5e5eaf090de6786b8bbdc (diff)
downloadports-ef33edd1aa3b6209a74365563985e3ac9dca525f.tar.gz
ports-ef33edd1aa3b6209a74365563985e3ac9dca525f.zip
Notes
Diffstat (limited to 'net/p5-Net-Pcap')
-rw-r--r--net/p5-Net-Pcap/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/p5-Net-Pcap/Makefile b/net/p5-Net-Pcap/Makefile
index ed4f82bdd569..73244b6b611d 100644
--- a/net/p5-Net-Pcap/Makefile
+++ b/net/p5-Net-Pcap/Makefile
@@ -18,7 +18,14 @@ COMMENT= Interface to pcap(3) LBL packet capture library
BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
PERL_CONFIGURE= yes
+CONFIGURE_ARGS= INC="-I${LOCALBASE}/include" LIBS="-I${LOCALBASE}/lib -lpcap"
MAN3= Net::Pcap.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= Perl 5.6 or newer required. Install lang/perl5.8 (or lang/perl5) and try again.
+.endif
+
+.include <bsd.port.post.mk>