| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.2 2016/09/09 06:31:29 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.3 2016/10/04 21:52:36 wiz 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 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+= mutt-compressed-mbox | | 13 | PKG_SUGGESTED_OPTIONS+= mutt-compressed-mbox |
14 | PKG_SUGGESTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp | | 14 | PKG_SUGGESTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp |
| @@ -87,27 +87,27 @@ REPLACE_PERL+= *.pl */*.pl | | | @@ -87,27 +87,27 @@ REPLACE_PERL+= *.pl */*.pl |
87 | CONFIGURE_ARGS+= --enable-smime | | 87 | CONFIGURE_ARGS+= --enable-smime |
88 | PLIST.smime= yes | | 88 | PLIST.smime= yes |
89 | .else | | 89 | .else |
90 | CONFIGURE_ARGS+= --disable-smime | | 90 | CONFIGURE_ARGS+= --disable-smime |
91 | .endif | | 91 | .endif |
92 | | | 92 | |
93 | ### | | 93 | ### |
94 | ### Header cache | | 94 | ### Header cache |
95 | ### | | 95 | ### |
96 | .if !empty(PKG_OPTIONS:Mmutt-hcache) | | 96 | .if !empty(PKG_OPTIONS:Mmutt-hcache) |
97 | . if !empty(PKG_OPTIONS:Mtokyocabinet) | | 97 | . if !empty(PKG_OPTIONS:Mtokyocabinet) |
98 | . include "../../databases/tokyocabinet/buildlink3.mk" | | 98 | . include "../../databases/tokyocabinet/buildlink3.mk" |
99 | CONFIGURE_ARGS+= --enable-hcache | | 99 | CONFIGURE_ARGS+= --enable-hcache |
100 | CONFIGURE_ARGS+= --enable-tokyocabinet | | 100 | CONFIGURE_ARGS+= --with-tokyocabinet |
101 | CONFIGURE_ARGS+= --without-gdbm | | 101 | CONFIGURE_ARGS+= --without-gdbm |
102 | CONFIGURE_ARGS+= --without-bdb | | 102 | CONFIGURE_ARGS+= --without-bdb |
103 | . else | | 103 | . else |
104 | BDB_ACCEPTED= db4 db5 | | 104 | BDB_ACCEPTED= db4 db5 |
105 | BUILDLINK_TRANSFORM+= l:db:${BDB_TYPE} | | 105 | BUILDLINK_TRANSFORM+= l:db:${BDB_TYPE} |
106 | . include "../../mk/bdb.buildlink3.mk" | | 106 | . include "../../mk/bdb.buildlink3.mk" |
107 | CONFIGURE_ARGS+= --enable-hcache | | 107 | CONFIGURE_ARGS+= --enable-hcache |
108 | CONFIGURE_ARGS+= --without-gdbm | | 108 | CONFIGURE_ARGS+= --without-gdbm |
109 | # BDB_INCLUDE_DIR_ and BDB_LIB_DIR don't have to be particularly accurate | | 109 | # BDB_INCLUDE_DIR_ and BDB_LIB_DIR don't have to be particularly accurate |
110 | # since the real -I and -L flags are added by buildlink already. | | 110 | # since the real -I and -L flags are added by buildlink already. |
111 | CONFIGURE_ENV+= BDB_INCLUDE_DIR=${BDBBASE}/include | | 111 | CONFIGURE_ENV+= BDB_INCLUDE_DIR=${BDBBASE}/include |
112 | CONFIGURE_ENV+= BDB_LIB_DIR=${BDBBASE}/lib | | 112 | CONFIGURE_ENV+= BDB_LIB_DIR=${BDBBASE}/lib |
113 | CONFIGURE_ENV+= BDB_LIB=${BDB_LIBS:S/^-l//:M*:Q} | | 113 | CONFIGURE_ENV+= BDB_LIB=${BDB_LIBS:S/^-l//:M*:Q} |