package/mutt: add gnutls optional dependency

gnutls is an optional dependency since version 1.5.7 and
457d70d6b1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2020-12-23 11:59:50 +01:00 committed by Thomas Petazzoni
parent 554610803c
commit 4446556e40

View file

@ -46,12 +46,23 @@ endif
ifneq ($(BR2_PACKAGE_MUTT_IMAP)$(BR2_PACKAGE_MUTT_POP3),) ifneq ($(BR2_PACKAGE_MUTT_IMAP)$(BR2_PACKAGE_MUTT_POP3),)
ifeq ($(BR2_PACKAGE_OPENSSL),y) ifeq ($(BR2_PACKAGE_OPENSSL),y)
MUTT_DEPENDENCIES += openssl MUTT_DEPENDENCIES += openssl
MUTT_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr MUTT_CONF_OPTS += \
--without-gnutls \
--with-ssl=$(STAGING_DIR)/usr
else ifeq ($(BR2_PACKAGE_GNUTLS),y)
MUTT_DEPENDENCIES += gnutls
MUTT_CONF_OPTS += \
--with-gnutls=$(STAGING_DIR)/usr \
--without-ssl
else else
MUTT_CONF_OPTS += --without-ssl MUTT_CONF_OPTS += \
--without-gnutls \
--without-ssl
endif endif
else else
MUTT_CONF_OPTS += --without-ssl MUTT_CONF_OPTS += \
--without-gnutls \
--without-ssl
endif endif
ifeq ($(BR2_PACKAGE_SQLITE),y) ifeq ($(BR2_PACKAGE_SQLITE),y)