From: Ryan Coe Date: Sat, 29 Dec 2018 01:21:34 +0000 (-0800) Subject: package/msmtp: fix configure with openssl/gnutls X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ab484444f30a1323580b8e43913ea2a91887907;p=buildroot.git package/msmtp: fix configure with openssl/gnutls Since the bump of msmtp from 1.6.6 to 1.8.0 in commit b68ad1b2d0d1c290489e0b4e1afec46b8220a8b9 ("msmtp: bump to version 1.8.0"), the configure option to select the SSL/TLS implementation is no longer --with-ssl, but --with-tls. Signed-off-by: Ryan Coe [Thomas: improve commit log] Signed-off-by: Thomas Petazzoni --- diff --git a/package/msmtp/msmtp.mk b/package/msmtp/msmtp.mk index a495072abf..a26de92ef9 100644 --- a/package/msmtp/msmtp.mk +++ b/package/msmtp/msmtp.mk @@ -41,17 +41,17 @@ MSMTP_CONF_OPTS += --without-libsecret endif ifeq ($(BR2_PACKAGE_OPENSSL),y) -MSMTP_CONF_OPTS += --with-ssl=openssl +MSMTP_CONF_OPTS += --with-tls=openssl MSMTP_DEPENDENCIES += openssl ifeq ($(BR2_STATIC_LIBS),y) # openssl uses zlib, so we need to explicitly link with it when static MSMTP_CONF_ENV += LIBS=-lz endif else ifeq ($(BR2_PACKAGE_GNUTLS),y) -MSMTP_CONF_OPTS += --with-ssl=gnutls +MSMTP_CONF_OPTS += --with-tls=gnutls MSMTP_DEPENDENCIES += gnutls else -MSMTP_CONF_OPTS += --with-ssl=no +MSMTP_CONF_OPTS += --with-tls=no endif $(eval $(autotools-package))