summaryrefslogtreecommitdiff
path: root/net/ethereal
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2004-10-09 12:09:15 +0000
committeradrianp <adrianp@pkgsrc.org>2004-10-09 12:09:15 +0000
commit24229c7947cd85022dfc043713dac01fa0d6a2e4 (patch)
treebd0eb92917a054f7900386f8774b918fca27ccc5 /net/ethereal
parent8df03fad14f56cfbbca8b2443a7bfe003575ba86 (diff)
downloadpkgsrc-24229c7947cd85022dfc043713dac01fa0d6a2e4.tar.gz
Fix build on Darwin by not using it's builtin libpcap
Diffstat (limited to 'net/ethereal')
-rw-r--r--net/ethereal/Makefile8
1 files changed, 7 insertions, 1 deletions
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"