From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] package/mutt: add gnutls optional dependency
Date: Wed, 23 Dec 2020 11:59:50 +0100 [thread overview]
Message-ID: <20201223105950.2278971-3-fontaine.fabrice@gmail.com> (raw)
In-Reply-To: <20201223105950.2278971-1-fontaine.fabrice@gmail.com>
gnutls is an optional dependency since version 1.5.7 and
https://gitlab.com/muttmua/mutt/-/commit/457d70d6b10860bae084837024eb34aa3bfbc5fa
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/mutt/mutt.mk | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk
index 4e14004577..67fc4ed838 100644
--- a/package/mutt/mutt.mk
+++ b/package/mutt/mutt.mk
@@ -46,12 +46,23 @@ endif
ifneq ($(BR2_PACKAGE_MUTT_IMAP)$(BR2_PACKAGE_MUTT_POP3),)
ifeq ($(BR2_PACKAGE_OPENSSL),y)
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
-MUTT_CONF_OPTS += --without-ssl
+MUTT_CONF_OPTS += \
+ --without-gnutls \
+ --without-ssl
endif
else
-MUTT_CONF_OPTS += --without-ssl
+MUTT_CONF_OPTS += \
+ --without-gnutls \
+ --without-ssl
endif
ifeq ($(BR2_PACKAGE_SQLITE),y)
--
2.29.2
next prev parent reply other threads:[~2020-12-23 10:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-23 10:59 [Buildroot] [PATCH 1/3] package/mutt: fix activation of openssl on imap Fabrice Fontaine
2020-12-23 10:59 ` [Buildroot] [PATCH 2/3] package/mutt: add zlib optional dependency Fabrice Fontaine
2020-12-27 8:02 ` Peter Korsgaard
2020-12-23 10:59 ` Fabrice Fontaine [this message]
2020-12-26 17:23 ` [Buildroot] [PATCH 1/3] package/mutt: fix activation of openssl on imap Thomas Petazzoni
2020-12-27 8:01 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201223105950.2278971-3-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.