summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorPavel Vinogradov2021-10-15 15:25:26 -0400
committerPavel Vinogradov2021-10-15 15:25:26 -0400
commit348ab22beaa2d5418712cad77d5d628de523350d (patch)
treec32fa0f46c8c07e31b80558a7d8f52e86bf5567e /mail
parent275a10031cde9657dd25e8c2086e3e8f6d92094b (diff)
mail/neomutt: no slang support for scm branch
Diffstat (limited to 'mail')
-rwxr-xr-xmail/neomutt/CONFIGURE10
-rwxr-xr-xmail/neomutt/DEPENDS6
-rw-r--r--mail/neomutt/HISTORY3
3 files changed, 14 insertions, 5 deletions
diff --git a/mail/neomutt/CONFIGURE b/mail/neomutt/CONFIGURE
index bdb2285d7c..521e3ab3be 100755
--- a/mail/neomutt/CONFIGURE
+++ b/mail/neomutt/CONFIGURE
@@ -1,6 +1,10 @@
-config_query_list TERMINAL_LIBRARY \
- "Build against which terminal library?" \
- ncurses slang &&
+if [[ "${NEOMUTT_BRANCH}" == "scm" ]]; then
+ persistent_remove TERMINAL_LIBRARY
+else
+ config_query_list TERMINAL_LIBRARY \
+ "Build against which terminal library?" \
+ ncurses slang
+fi &&
config_query_list HCACHE_BACKEND "Use which header cache backend?" \
none gdbm db lmdb &&
diff --git a/mail/neomutt/DEPENDS b/mail/neomutt/DEPENDS
index 832d18038a..00b43fb049 100755
--- a/mail/neomutt/DEPENDS
+++ b/mail/neomutt/DEPENDS
@@ -1,5 +1,8 @@
if [[ "${NEOMUTT_BRANCH}" == "scm" ]]; then
- depends git
+ depends git &&
+ depends ncurses
+else
+ depends "${TERMINAL_LIBRARY}" "--with-ui=${TERMINAL_LIBRARY}"
fi &&
persistent_remove TMP_NEOMUTT_OPTS &&
@@ -9,7 +12,6 @@ optional_depends "MAIL-TRANSPORT-AGENT" \
"" \
"to send mail" &&
-depends "${TERMINAL_LIBRARY}" "--with-ui=${TERMINAL_LIBRARY}" &&
optional_depends "GNUPG" \
"" \
diff --git a/mail/neomutt/HISTORY b/mail/neomutt/HISTORY
index b30e2c0eb6..03bba85f11 100644
--- a/mail/neomutt/HISTORY
+++ b/mail/neomutt/HISTORY
@@ -1,3 +1,6 @@
+2021-10-15 Pavel Vinogradov <public@sourcemage.org>
+ * CONFIGURE, DEPENDS: scm branch dropped slang support
+
2021-05-26 Florian Franzmann <bwlf@bandrate.org>
* DETAILS: version 20210205