From b94cd58107b8351a70f9b2edf6a5a1b81c2fa846 Mon Sep 17 00:00:00 2001 From: adrianp Date: Sat, 9 Oct 2004 12:09:15 +0000 Subject: Fix build on Darwin by not using it's builtin libpcap --- net/ethereal/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'net/ethereal') diff --git a/net/ethereal/Makefile b/net/ethereal/Makefile index 58789bd0f51..caebab43441 100644 --- a/net/ethereal/Makefile +++ b/net/ethereal/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.97 2004/10/03 00:17:51 tv Exp $ +# $NetBSD: Makefile,v 1.98 2004/10/09 12:09:15 adrianp Exp $ DISTNAME= ethereal-0.10.6 PKGREVISION= # defined1 @@ -42,6 +42,12 @@ CONFIGURE_ENV+= ac_cv_func_pcap_compile_nopcap=no PTHREAD_OPTS= require +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Darwin" +USE_BUILTIN.libpcap= no +.endif + .include "../../devel/zlib/buildlink3.mk" .include "../../net/libpcap/buildlink3.mk" .include "../../net/net-snmp/buildlink3.mk" -- cgit v1.2.3