diff options
author | elric <elric@pkgsrc.org> | 2017-03-07 20:42:28 +0000 |
---|---|---|
committer | elric <elric@pkgsrc.org> | 2017-03-07 20:42:28 +0000 |
commit | 0409c162dfab0536756c970f385cb08d3d3e36ad (patch) | |
tree | faa1fa28047b145b9a67e06b8437e3ca03d69afa | |
parent | 0a2a173ca0dcc0c1fcf10cf63cb5f1a239c83973 (diff) | |
download | pkgsrc-0409c162dfab0536756c970f385cb08d3d3e36ad.tar.gz |
Provide gssapi pkg option for {,neo}mutt.
-rw-r--r-- | mail/mutt/options.mk | 13 | ||||
-rw-r--r-- | mail/neomutt/options.mk | 14 |
2 files changed, 24 insertions, 3 deletions
diff --git a/mail/mutt/options.mk b/mail/mutt/options.mk index 749f47c1bce..d5d7622311b 100644 --- a/mail/mutt/options.mk +++ b/mail/mutt/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.27 2017/02/24 23:31:24 wiz Exp $ +# $NetBSD: options.mk,v 1.28 2017/03/07 20:42:28 elric Exp $ # Global and legacy options @@ -8,11 +8,22 @@ 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+= gssapi PKG_SUGGESTED_OPTIONS= curses gpgme mutt-hcache mutt-smtp smime ssl +PKG_SUGGESTED_OPTIONS+= gssapi PKG_OPTIONS_LEGACY_OPTS+= ncurses:curses ncursesw:wide-curses .include "../../mk/bsd.options.mk" +### +### GSSAPI +### + +.if !empty(PKG_OPTIONS:Mgssapi) +. include "../../mk/krb5.buildlink3.mk" +CONFIGURE_ARGS+= --with-gss=${KRB5BASE} +.endif + ### curses ### .if !empty(PKG_OPTIONS:Mcurses) || !empty(PKG_OPTIONS:Mwide-curses) 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) |