ports/59855: [PATCH] ethereal-0.9.16 uses adns

Roman Neuhauser neuhauser at bellavista.cz
Tue Dec 23 17:13:03 UTC 2003


Since the port has been updated to 0.10.0a, here's an updated patch.

-- 
FreeBSD 4.8-STABLE
6:10PM up 5 days, 11:30, 11 users, load averages: 0.11, 0.07, 0.07
-------------- next part --------------
Index: net/ethereal/Makefile
===================================================================
RCS file: /home/ncvs/ports/net/ethereal/Makefile,v
retrieving revision 1.66
diff -u -r1.66 Makefile
--- net/ethereal/Makefile	17 Dec 2003 16:40:13 -0000	1.66
+++ net/ethereal/Makefile	23 Dec 2003 17:11:46 -0000
@@ -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%/ \
@@ -55,6 +56,13 @@
 .endif
 .else
 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


More information about the freebsd-ports-bugs mailing list