aboutsummaryrefslogtreecommitdiff
path: root/net/ethereal
diff options
context:
space:
mode:
Diffstat (limited to 'net/ethereal')
-rw-r--r--net/ethereal/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/ethereal/Makefile b/net/ethereal/Makefile
index d5dab7e6cb18..686367365392 100644
--- a/net/ethereal/Makefile
+++ b/net/ethereal/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ethereal
PORTVERSION= 0.10.0a
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.ethereal.com/pub/ethereal/%SUBDIR%/ \
ftp://gd.tuwien.ac.at/infosys/security/ethereal/%SUBDIR%/ \
@@ -57,6 +58,13 @@ CONFIGURE_ARGS+= --with-ssl=/usr
CONFIGURE_ARGS+= --enable-snmp=no --without-ucdsnmp --without-net-snmp
.endif
+.if defined(WITH_ADNS) || (!defined(WITHOUT_ADNS) && exists(${LOCALBASE}/lib/adns.so))
+LIB_DEPENDS+= adns.1:${PORTSDIR}/dns/adns
+CONFIGURE_ARGS+= --with-adns=${LOCALBASE}
+.else
+CONFIGURE_ARGS+= --without-adns
+.endif
+
MAN1+= editcap.1 idl2eth.1 mergecap.1 tethereal.1 text2pcap.1
MAN4+= ethereal-filter.4