diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2005-09-30 17:35:39 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2005-09-30 17:35:39 +0000 |
commit | ef33edd1aa3b6209a74365563985e3ac9dca525f (patch) | |
tree | 6078f51d31e50b2271bb92200c242b12d90732be /net | |
parent | - Allow on amd64 (diff) |
* unbreak build
* require perl5.6 or later (XS is written in new style)
Pointed by: pointyhat (kris)
Notes
Notes:
svn path=/head/; revision=143869
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-Net-Pcap/Makefile | 9 |
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> |