From: Fabrice Fontaine Date: Tue, 1 May 2018 19:01:32 +0000 (+0200) Subject: msmtp: add optional support for libgsasl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5cce4bd00238b150a41a7eb2a868525faed7b12;p=buildroot.git msmtp: add optional support for libgsasl Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/msmtp/msmtp.mk b/package/msmtp/msmtp.mk index a1bd9e1437..b7a830649d 100644 --- a/package/msmtp/msmtp.mk +++ b/package/msmtp/msmtp.mk @@ -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