git: 274554a13610 - main - mail/msmtp: fix the TLS option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Jan 2026 17:31:15 UTC
The branch main has been updated by novel:
URL: https://cgit.FreeBSD.org/ports/commit/?id=274554a136104549ade5332ae8255fe119be4551
commit 274554a136104549ade5332ae8255fe119be4551
Author: Roman Bogorodskiy <novel@FreeBSD.org>
AuthorDate: 2026-01-27 17:24:26 +0000
Commit: Roman Bogorodskiy <novel@FreeBSD.org>
CommitDate: 2026-01-27 17:30:45 +0000
mail/msmtp: fix the TLS option
Part of commit 61d57c2657e1178dd763c8dd63503a9338525f47 was
converting from *_CONFIGURE_ON to *_CONFIGURE_WITH
for the TLS option. As it is a radio option, it means that one
of the options will be always disabled, resulting in adding
`--without-tls` to the CONFIGURE_ARGS, and no TLS support.
Fix by switching back to CONFIGURE_ON and bump PORTREVISION
to regenerate the package.
Reported by: Scott Robbins
---
mail/msmtp/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile
index 317bd8e7e221..325ce9b40b29 100644
--- a/mail/msmtp/Makefile
+++ b/mail/msmtp/Makefile
@@ -1,6 +1,6 @@
PORTNAME= msmtp
DISTVERSION= 1.8.32
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= https://marlam.de/msmtp/releases/
@@ -44,10 +44,10 @@ MSMTPQ_RUN_DEPENDS= bash:shells/bash
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
-GNUTLS_CONFIGURE_WITH= tls=gnutls
+GNUTLS_CONFIGURE_ON= --with-tls=gnutls
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
OPENSSL_USES= ssl
-OPENSSL_CONFIGURE_WITH= tls=openssl
+OPENSSL_CONFIGURE_ON= --with-tls=openssl
OPENSSL_CONFIGURE_ENV= libssl_CFLAGS="-I${OPENSSLINC}" \
libssl_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"