summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-12-22 18:55:47 +0000
committernovel <novel@FreeBSD.org>2005-12-22 18:55:47 +0000
commit2e36ff0139116445b78d520146f0c61d0dc5c3ad (patch)
treea5887f71841eba70e4bb7a7e3649c0f3f808fbd5 /mail
parent89a8d1a8e18293913be66b163725acafe7b5ab18 (diff)
downloadFreeBSD-ports-2e36ff0139116445b78d520146f0c61d0dc5c3ad.zip
FreeBSD-ports-2e36ff0139116445b78d520146f0c61d0dc5c3ad.tar.gz
Revive WITH_GNUTLS knob by depending on gnutls-devel.
Diffstat (limited to 'mail')
-rw-r--r--mail/msmtp/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile
index e210525..f6264d6 100644
--- a/mail/msmtp/Makefile
+++ b/mail/msmtp/Makefile
@@ -24,15 +24,10 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= msmtp.1
INFO= msmtp
-# XXX we need gnutls >= 1.2.0 which is not avaible via ports tree
.if defined(WITH_GNUTLS)
-.undef WITH_GNUTLS
-.endif
-
-.if defined(WITH_GNUTLS)
-LIB_DEPENDS+= gnutls.12:${PORTSDIR}/security/gnutls
+LIB_DEPENDS+= gnutls.13:${PORTSDIR}/security/gnutls-devel
CONFIGURE_ARGS+= --with-ssl=gnutls
-.elif defined (WITH_OPENSSL)
+.elif defined(WITH_OPENSSL)
USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-ssl=openssl
.else
OpenPOWER on IntegriCloud