summaryrefslogtreecommitdiff
path: root/mail/neomutt
diff options
context:
space:
mode:
authorelric <elric@pkgsrc.org>2017-03-07 20:42:28 +0000
committerelric <elric@pkgsrc.org>2017-03-07 20:42:28 +0000
commit0409c162dfab0536756c970f385cb08d3d3e36ad (patch)
treefaa1fa28047b145b9a67e06b8437e3ca03d69afa /mail/neomutt
parent0a2a173ca0dcc0c1fcf10cf63cb5f1a239c83973 (diff)
downloadpkgsrc-0409c162dfab0536756c970f385cb08d3d3e36ad.tar.gz
Provide gssapi pkg option for {,neo}mutt.
Diffstat (limited to 'mail/neomutt')
-rw-r--r--mail/neomutt/options.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/mail/neomutt/options.mk b/mail/neomutt/options.mk
index 2b3bb9b30f9..5bdca8007ba 100644
--- a/mail/neomutt/options.mk
+++ b/mail/neomutt/options.mk
@@ -1,15 +1,16 @@
-# $NetBSD: options.mk,v 1.4 2017/01/17 12:32:42 wiz Exp $
+# $NetBSD: options.mk,v 1.5 2017/03/07 20:42:28 elric Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.neomutt
PKG_OPTIONS_REQUIRED_GROUPS= display
PKG_OPTIONS_GROUP.display= slang ncurses ncursesw curses
-PKG_SUPPORTED_OPTIONS= debug gpgme idn ssl smime sasl
+PKG_SUPPORTED_OPTIONS= debug gpgme gssapi idn ssl smime sasl
PKG_SUPPORTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp
PKG_SUPPORTED_OPTIONS+= mutt-compressed-mbox
PKG_SUPPORTED_OPTIONS+= mutt-sidebar
PKG_SUGGESTED_OPTIONS= ncursesw gpgme idn mutt-hcache mutt-smtp sasl smime ssl
+PKG_SUGGESTED_OPTIONS+= gssapi
PKG_SUGGESTED_OPTIONS+= mutt-compressed-mbox
PKG_SUGGESTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp
PKG_SUGGESTED_OPTIONS+= mutt-compressed-mbox
@@ -18,6 +19,15 @@ PKG_SUGGESTED_OPTIONS+= mutt-sidebar
.include "../../mk/bsd.options.mk"
###
+### GSSAPI
+###
+
+.if !empty(PKG_OPTIONS:Mgssapi)
+. include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --with-gss=${KRB5BASE}
+.endif
+
+###
### Slang
###
.if !empty(PKG_OPTIONS:Mslang)