e4ef656e28
Release 1.3.0 - 2012/01/29 -------------------------- Improvements ^^^^^^^^^^^^ * Supported dynamic DB key table change by GRN_DB_KEY=pat or GRN_DB_KEY=dat environment variable value. * Added ``--with-default-db-key`` configure option that specifies the default DB key table. * Supported "" value for geo point data types. It's interpreted as "0x0". * Added column name to cast error message. * Inhibit file information for stdin on load error. * Enabled write-strings warnings and suppress those warnings. [Suggested by montywi] * Marked MessagePack output format as supported. [#1215] * Added ``const`` to ``void *`` of ``*_set_value()``. * Enabled warning flags on C and C++. * Supported ``--with-libevent`` without value configure option. * ``grn_table_get()`` supported grn_db. [#1242] * [rpm] Removed needless groogna-munin-plugins dependency from groonga-server. [#1251] [Suggested by Masaharu IWAI] * [rpm] Removed needless groogna-doc dependency from groonga. [#1251] [Suggested by Masaharu IWAI] * [dat] Supported repair by ``grn_dat_repair()``. * ``grn_table_at()`` supported grn_db. * [suggest] Removed unstable mark. * [suggest][complete] Supported normalized value search in prefix-search. * Added experimental offline index build. It's disabled by default for now. You can enable it by USE_OFFLINE_INDEXER=yes environment variable. * Added internal API ``grn_obj_path_by_id()`` for mroonga. * [suggest][httpd] Passed unknown parameters to groonga. * [output][xml] Added a newline before ``</RESULT>`` for readability. * [doc][output] Added documentation about output format type. * Added ``table_rename``. [#1234] * Added ``column_rename``. [#1234]
58 lines
1.6 KiB
Makefile
58 lines
1.6 KiB
Makefile
# $NetBSD: options.mk,v 1.3 2012/02/27 11:59:52 obache Exp $
|
|
#
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.groonga
|
|
PKG_SUPPORTED_OPTIONS= mecab tests zlib lzo groonga-suggest-learner
|
|
PKG_SUGGESTED_OPTIONS= mecab groonga-suggest-learner
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= mecab learner
|
|
|
|
.if !empty(PKG_OPTIONS:Mmecab)
|
|
CONFIGURE_ARGS+= --with-mecab
|
|
CONFIGURE_ARGS+= --with-mecab-config=${BUILDLINK_PREFIX.mecab}/bin/mecab-config
|
|
.include "../../textproc/mecab/buildlink3.mk"
|
|
PLIST.mecab= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --without-mecab
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mtests)
|
|
CONFIGURE_ARGS+= --with-cutter
|
|
USE_TOOLS+= gmake
|
|
TEST_TARGET= check
|
|
.include "../../lang/ruby/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.cutter+= cutter>=1.1.6
|
|
.include "../../devel/cutter/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-cutter
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mzlib)
|
|
CONFIGURE_ARGS+= --with-zlib
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-zlib
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mlzo)
|
|
CONFIGURE_ARGS+= --with-lzo
|
|
.include "../../archivers/lzo/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-lzo
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgroonga-suggest-learner)
|
|
.include "../../devel/libevent/buildlink3.mk"
|
|
.include "../../devel/msgpack/buildlink3.mk"
|
|
.include "../../net/zeromq/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-libevent=${BUILDLINK_PREFIX.libevent}
|
|
CONFIGURE_ARGS+= --with-message-pack=${BUILDLINK_PREFIX.msgpack}
|
|
CONFIGURE_ARGS+= --enable-zeromq
|
|
PLIST.learner= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --without-libevent
|
|
CONFIGURE_ARGS+= --without-message-pack
|
|
CONFIGURE_ARGS+= --disable-zeromq
|
|
.endif
|