summaryrefslogtreecommitdiff
path: root/mail/mutt
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-06-25 14:34:25 +0000
committerjoerg <joerg@pkgsrc.org>2017-06-25 14:34:25 +0000
commit01be5211208eca454a9fcbc397a867b76e3f68bc (patch)
treeebe0eae4690be0c6755f4d5ec76a979808328f7f /mail/mutt
parent8f99b6af1d9364f8380e5d487e0cdebcc5e309d0 (diff)
downloadpkgsrc-01be5211208eca454a9fcbc397a867b76e3f68bc.tar.gz
Restore mutt-compressed-mbox option. While it doesn't need a patch,
it still needs a non-default configure flag.
Diffstat (limited to 'mail/mutt')
-rw-r--r--mail/mutt/options.mk15
1 files changed, 12 insertions, 3 deletions
diff --git a/mail/mutt/options.mk b/mail/mutt/options.mk
index dc3a7e39d85..6abf2baa7f6 100644
--- a/mail/mutt/options.mk
+++ b/mail/mutt/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.29 2017/04/20 08:59:24 jperkin Exp $
+# $NetBSD: options.mk,v 1.30 2017/06/25 14:34:25 joerg Exp $
# Global and legacy options
@@ -7,10 +7,10 @@ PKG_OPTIONS_REQUIRED_GROUPS= display
PKG_OPTIONS_GROUP.display= curses wide-curses slang
PKG_SUPPORTED_OPTIONS= debug gpgme idn ssl smime sasl
# TODO: add kyoto cabinet and lmdb backend options for header cache
-PKG_SUPPORTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp
+PKG_SUPPORTED_OPTIONS+= mutt-hcache mutt-compressed-mbox tokyocabinet mutt-smtp
PKG_SUPPORTED_OPTIONS+= gssapi
PKG_SUGGESTED_OPTIONS= curses gpgme mutt-hcache mutt-smtp smime ssl
-PKG_SUGGESTED_OPTIONS+= gssapi
+PKG_SUGGESTED_OPTIONS+= gssapi mutt-compressed-mbox
PKG_OPTIONS_LEGACY_OPTS+= ncurses:curses ncursesw:wide-curses
.include "../../mk/bsd.options.mk"
@@ -105,6 +105,15 @@ CONFIGURE_ARGS+= --disable-hcache
.endif
###
+### Compressed mail boxes
+###
+.if !empty(PKG_OPTIONS:Mmutt-compressed-mbox)
+CONFIGURE_ARGS+= --enable-compressed
+.else
+CONFIGURE_ARGS+= --disable-compressed
+.endif
+
+###
### Internal SMTP relay support
###
.if !empty(PKG_OPTIONS:Mmutt-smtp)