Skip to contentSkip to conversation

msmtp: add optional support for libgsasl

PATCH New Fabrice Fontaine 2 participants 2 messages May 1, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 msmtp: add optional support for libgsasl

---
 package/msmtp/msmtp.mk | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
package/msmtp/msmtp.mk +8 -2
index a1bd9e1437..b7a830649d 100644
@@ -10,11 +10,17 @@ MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.xz
 MSMTP_DEPENDENCIES = host-pkgconf
 MSMTP_CONF_OPTS = \
 	--without-libidn \
-	--disable-gai-idn \
-	--without-libgsasl
+	--disable-gai-idn
 MSMTP_LICENSE = GPL-3.0+
 MSMTP_LICENSE_FILES = COPYING
 
+ifeq ($(BR2_PACKAGE_LIBGSASL),y)
+MSMTP_CONF_OPTS += --with-libgsasl
+MSMTP_DEPENDENCIES += libgsasl
+else
+MSMTP_CONF_OPTS += --without-libgsasl
+endif
+
 ifeq ($(BR2_PACKAGE_LIBSECRET),y)
 MSMTP_CONF_OPTS += --with-libsecret
 MSMTP_DEPENDENCIES += libsecret
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 msmtp: add optional support for libgsasl

Hello,

Quoted 4 lines · Fabrice Fontaine
---
 package/msmtp/msmtp.mk | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com