aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2005-10-01 01:35:39 +0800
committerskv <skv@FreeBSD.org>2005-10-01 01:35:39 +0800
commitece07e1d9f97b8971ee7152f4b059892aec7516f (patch)
treed69a43476f67932145044576394b4cc6348d8962
parentba68a71afa73a20a55ce101e3fe64f00ddf23d7e (diff)
downloadfreebsd-ports-gnome-ece07e1d9f97b8971ee7152f4b059892aec7516f.tar.gz
freebsd-ports-gnome-ece07e1d9f97b8971ee7152f4b059892aec7516f.tar.zst
freebsd-ports-gnome-ece07e1d9f97b8971ee7152f4b059892aec7516f.zip
* unbreak build
* require perl5.6 or later (XS is written in new style) Pointed by: pointyhat (kris)
-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>