mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
[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>
This commit is contained in:
parent
32c871b528
commit
0aacf342d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97867
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user