diff options
author | edwin <edwin@FreeBSD.org> | 2004-01-10 19:35:47 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-01-10 19:35:47 +0800 |
commit | 10eee5c46c3e67d902629b5fb9fa481f7a1d4d56 (patch) | |
tree | 777d0e673ea8b6ff90b5fed69d2342f1c7d08ddf /net | |
parent | b246c49c02f4dfa24129c940ea976bd03beceb88 (diff) | |
download | freebsd-ports-gnome-10eee5c46c3e67d902629b5fb9fa481f7a1d4d56.tar.gz freebsd-ports-gnome-10eee5c46c3e67d902629b5fb9fa481f7a1d4d56.tar.zst freebsd-ports-gnome-10eee5c46c3e67d902629b5fb9fa481f7a1d4d56.zip |
[PATCH] ethereal-0.9.16 uses adns
Ethereal has a --with-adns switch. ./configure tests for presence
of the library even if --with-adns is not specified, and if it
finds it, the build fails later on because /usr/local/lib is
not in -L.
PR: ports/59855
Submitted by: Roman Neuhauser <neuhauser@bellavista.cz>
Diffstat (limited to 'net')
-rw-r--r-- | net/ethereal/Makefile | 8 | ||||
-rw-r--r-- | net/wireshark/Makefile | 8 |
2 files changed, 16 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 diff --git a/net/wireshark/Makefile b/net/wireshark/Makefile index d5dab7e6cb18..686367365392 100644 --- a/net/wireshark/Makefile +++ b/net/wireshark/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 |