From 8221e9db44f3d37c985731c53377ef29cad2bba2 Mon Sep 17 00:00:00 2001 From: Matthew Hagan Date: Tue, 4 Jan 2022 14:14:18 +0000 Subject: [PATCH] mutt: move configurables to Config.in Signed-off-by: Matthew Hagan --- mail/mutt/Config.in | 32 ++++++++++++++++++++++++++++++++ mail/mutt/Makefile | 37 +------------------------------------ 2 files changed, 33 insertions(+), 36 deletions(-) create mode 100644 mail/mutt/Config.in diff --git a/mail/mutt/Config.in b/mail/mutt/Config.in new file mode 100644 index 0000000000..88c292adb7 --- /dev/null +++ b/mail/mutt/Config.in @@ -0,0 +1,32 @@ +if PACKAGE_mutt + config MUTT_POP + bool "POP support" + default y + help + Enables POP support in mutt. + config MUTT_IMAP + bool "IMAP support" + default y + help + Enables IMAP support in mutt. + config MUTT_SMTP + bool "SMTP support" + default n + help + Enables SMTP support in mutt. + config MUTT_SASL + bool "SASL support" + default n + help + Enables SASL support in mutt (libsasl2). + config MUTT_GNUTLS + bool "GnuTLS support" + default n + help + Enables GnuTLS support in mutt (libgnutls). + config MUTT_OPENSSL + bool "OpenSSL support" + default y + help + Enables OpenSSL support in mutt (libopenssl). +endif diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile index 49c8be91af..09f6dc794b 100644 --- a/mail/mutt/Makefile +++ b/mail/mutt/Makefile @@ -60,42 +60,7 @@ define Package/mutt/install endef define Package/mutt/config - config MUTT_POP - depends on PACKAGE_mutt - bool "POP support" - default y - help - Enables POP support in mutt. - config MUTT_IMAP - depends on PACKAGE_mutt - bool "IMAP support" - default y - help - Enables IMAP support in mutt - config MUTT_SMTP - depends on PACKAGE_mutt - bool "SMTP support" - default n - help - Enables SMTP support in mutt. - config MUTT_SASL - depends on PACKAGE_mutt - bool "SASL support" - default n - help - Enables SASL support in mutt (libsasl2). - config MUTT_GNUTLS - depends on PACKAGE_mutt - bool "GnuTLS support" - default n - help - Enables GnuTLS support in mutt (libgnutls). - config MUTT_OPENSSL - depends on PACKAGE_mutt - bool "OpenSSL support" - default y - help - Enables OpenSSL support in mutt (libopenssl). + source "$(SOURCE)/Config.in" endef $(eval $(call BuildPackage,mutt))