Provide gssapi pkg option for {,neo}mutt.diff -r1.27 -r1.28 pkgsrc/mail/mutt/options.mk
(elric)
@@ -1,28 +1,39 @@ | @@ -1,28 +1,39 @@ | |||
1 | # $NetBSD: options.mk,v 1.27 2017/02/24 23:31:24 wiz Exp $ | 1 | # $NetBSD: options.mk,v 1.28 2017/03/07 20:42:28 elric Exp $ | |
2 | 2 | |||
3 | # Global and legacy options | 3 | # Global and legacy options | |
4 | 4 | |||
5 | PKG_OPTIONS_VAR= PKG_OPTIONS.mutt | 5 | PKG_OPTIONS_VAR= PKG_OPTIONS.mutt | |
6 | PKG_OPTIONS_REQUIRED_GROUPS= display | 6 | PKG_OPTIONS_REQUIRED_GROUPS= display | |
7 | PKG_OPTIONS_GROUP.display= curses wide-curses slang | 7 | PKG_OPTIONS_GROUP.display= curses wide-curses slang | |
8 | PKG_SUPPORTED_OPTIONS= debug gpgme idn ssl smime sasl | 8 | PKG_SUPPORTED_OPTIONS= debug gpgme idn ssl smime sasl | |
9 | # TODO: add kyoto cabinet and lmdb backend options for header cache | 9 | # TODO: add kyoto cabinet and lmdb backend options for header cache | |
10 | PKG_SUPPORTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp | 10 | PKG_SUPPORTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp | |
11 | PKG_SUPPORTED_OPTIONS+= gssapi | |||
11 | PKG_SUGGESTED_OPTIONS= curses gpgme mutt-hcache mutt-smtp smime ssl | 12 | PKG_SUGGESTED_OPTIONS= curses gpgme mutt-hcache mutt-smtp smime ssl | |
13 | PKG_SUGGESTED_OPTIONS+= gssapi | |||
12 | PKG_OPTIONS_LEGACY_OPTS+= ncurses:curses ncursesw:wide-curses | 14 | PKG_OPTIONS_LEGACY_OPTS+= ncurses:curses ncursesw:wide-curses | |
13 | 15 | |||
14 | .include "../../mk/bsd.options.mk" | 16 | .include "../../mk/bsd.options.mk" | |
15 | 17 | |||
18 | ### | |||
19 | ### GSSAPI | |||
20 | ### | |||
21 | ||||
22 | .if !empty(PKG_OPTIONS:Mgssapi) | |||
23 | . include "../../mk/krb5.buildlink3.mk" | |||
24 | CONFIGURE_ARGS+= --with-gss=${KRB5BASE} | |||
25 | .endif | |||
26 | ||||
16 | ### curses | 27 | ### curses | |
17 | ### | 28 | ### | |
18 | .if !empty(PKG_OPTIONS:Mcurses) || !empty(PKG_OPTIONS:Mwide-curses) | 29 | .if !empty(PKG_OPTIONS:Mcurses) || !empty(PKG_OPTIONS:Mwide-curses) | |
19 | . include "../../mk/curses.buildlink3.mk" | 30 | . include "../../mk/curses.buildlink3.mk" | |
20 | CONFIGURE_ARGS+= --with-curses=${BUILDLINK_PREFIX.curses} | 31 | CONFIGURE_ARGS+= --with-curses=${BUILDLINK_PREFIX.curses} | |
21 | . if !empty(CURSES_TYPE:Mcurses) | 32 | . if !empty(CURSES_TYPE:Mcurses) | |
22 | OPSYSVARS+= BUILDLINK_PASSTHRU_DIRS | 33 | OPSYSVARS+= BUILDLINK_PASSTHRU_DIRS | |
23 | BUILDLINK_PASSTHRU_DIRS.SunOS+= /usr/xpg4 | 34 | BUILDLINK_PASSTHRU_DIRS.SunOS+= /usr/xpg4 | |
24 | CONFIGURE_ARGS.SunOS+= --with-curses=/usr/xpg4 | 35 | CONFIGURE_ARGS.SunOS+= --with-curses=/usr/xpg4 | |
25 | LDFLAGS.SunOS+= -L/usr/xpg4/lib${LIBABISUFFIX} | 36 | LDFLAGS.SunOS+= -L/usr/xpg4/lib${LIBABISUFFIX} | |
26 | LDFLAGS.SunOS+= ${COMPILER_RPATH_FLAG}/usr/xpg4/lib${LIBABISUFFIX} | 37 | LDFLAGS.SunOS+= ${COMPILER_RPATH_FLAG}/usr/xpg4/lib${LIBABISUFFIX} | |
27 | . endif | 38 | . endif | |
28 | .endif | 39 | .endif |
@@ -1,33 +1,43 @@ | @@ -1,33 +1,43 @@ | |||
1 | # $NetBSD: options.mk,v 1.4 2017/01/17 12:32:42 wiz Exp $ | 1 | # $NetBSD: options.mk,v 1.5 2017/03/07 20:42:28 elric Exp $ | |
2 | 2 | |||
3 | # Global and legacy options | 3 | # Global and legacy options | |
4 | 4 | |||
5 | PKG_OPTIONS_VAR= PKG_OPTIONS.neomutt | 5 | PKG_OPTIONS_VAR= PKG_OPTIONS.neomutt | |
6 | PKG_OPTIONS_REQUIRED_GROUPS= display | 6 | PKG_OPTIONS_REQUIRED_GROUPS= display | |
7 | PKG_OPTIONS_GROUP.display= slang ncurses ncursesw curses | 7 | PKG_OPTIONS_GROUP.display= slang ncurses ncursesw curses | |
8 | PKG_SUPPORTED_OPTIONS= debug gpgme idn ssl smime sasl | 8 | PKG_SUPPORTED_OPTIONS= debug gpgme gssapi idn ssl smime sasl | |
9 | PKG_SUPPORTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp | 9 | PKG_SUPPORTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp | |
10 | PKG_SUPPORTED_OPTIONS+= mutt-compressed-mbox | 10 | PKG_SUPPORTED_OPTIONS+= mutt-compressed-mbox | |
11 | PKG_SUPPORTED_OPTIONS+= mutt-sidebar | 11 | PKG_SUPPORTED_OPTIONS+= mutt-sidebar | |
12 | PKG_SUGGESTED_OPTIONS= ncursesw gpgme idn mutt-hcache mutt-smtp sasl smime ssl | 12 | PKG_SUGGESTED_OPTIONS= ncursesw gpgme idn mutt-hcache mutt-smtp sasl smime ssl | |
13 | PKG_SUGGESTED_OPTIONS+= gssapi | |||
13 | PKG_SUGGESTED_OPTIONS+= mutt-compressed-mbox | 14 | PKG_SUGGESTED_OPTIONS+= mutt-compressed-mbox | |
14 | PKG_SUGGESTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp | 15 | PKG_SUGGESTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp | |
15 | PKG_SUGGESTED_OPTIONS+= mutt-compressed-mbox | 16 | PKG_SUGGESTED_OPTIONS+= mutt-compressed-mbox | |
16 | PKG_SUGGESTED_OPTIONS+= mutt-sidebar | 17 | PKG_SUGGESTED_OPTIONS+= mutt-sidebar | |
17 | 18 | |||
18 | .include "../../mk/bsd.options.mk" | 19 | .include "../../mk/bsd.options.mk" | |
19 | 20 | |||
20 | ### | 21 | ### | |
22 | ### GSSAPI | |||
23 | ### | |||
24 | ||||
25 | .if !empty(PKG_OPTIONS:Mgssapi) | |||
26 | . include "../../mk/krb5.buildlink3.mk" | |||
27 | CONFIGURE_ARGS+= --with-gss=${KRB5BASE} | |||
28 | .endif | |||
29 | ||||
30 | ### | |||
21 | ### Slang | 31 | ### Slang | |
22 | ### | 32 | ### | |
23 | .if !empty(PKG_OPTIONS:Mslang) | 33 | .if !empty(PKG_OPTIONS:Mslang) | |
24 | . include "../../devel/libslang/buildlink3.mk" | 34 | . include "../../devel/libslang/buildlink3.mk" | |
25 | CONFIGURE_ARGS+= --with-slang=${BUILDLINK_PREFIX.libslang} | 35 | CONFIGURE_ARGS+= --with-slang=${BUILDLINK_PREFIX.libslang} | |
26 | .endif | 36 | .endif | |
27 | 37 | |||
28 | ### | 38 | ### | |
29 | ### ncurses | 39 | ### ncurses | |
30 | ### | 40 | ### | |
31 | .if !empty(PKG_OPTIONS:Mncurses) | 41 | .if !empty(PKG_OPTIONS:Mncurses) | |
32 | USE_NCURSES= yes | 42 | USE_NCURSES= yes | |
33 | . include "../../devel/ncurses/buildlink3.mk" | 43 | . include "../../devel/ncurses/buildlink3.mk" |