Add a dependency on libgcrypt if it is found. libgcrypt adds the ability

to decrypt IPSec packets.

PR:		100645
This commit is contained in:
Joe Marcus Clarke 2006-07-23 17:40:38 +00:00
parent d834e98538
commit 5b24572dbf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168571

View file

@ -113,6 +113,11 @@ LIB_DEPENDS+= gnutls.13:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+=--with-libgnutls-prefix=${LOCALBASE}
.endif
.if exists(${LOCALBASE}/lib/libgcrypt.so) || defined(WITH_LIBGCRYPT)
LIB_DEPENDS+= gcrypt.13:${PORTSDIR}/security/libgcrypt
CONFIGURE_ARGS+=--with-libgcrypt-prefix=${LOCALBASE}
.endif
MAN1+= dumpcap.1 tshark.1
MAN4+= wireshark-filter.4