pkgsrc/textproc/groonga/options.mk
obache 28e2282a0d Update groonga to 1.2.3.
Release 1.2.3 - 2011/06/29
--------------------------

Improvements
^^^^^^^^^^^^

* Added invalid table name check. #912
* Added groonga-query-log-analyzer that analyze query log.
* groonga command shows failed command on error.
* groonga command shows file name and line no on error.
* Improved error message of :doc:`commands/column_create`. #952
* Added GRN_OBJ_TABLE_DAT_KEY, double array trie, table. (experimental)

Fixes
^^^^^

* fix get command crash. (Reported by OBATA Akio)
* fix elapsed time overflow in query log. #944
2011-07-11 08:32:38 +00:00

58 lines
1.5 KiB
Makefile

# $NetBSD: options.mk,v 1.2 2011/07/11 08:32:38 obache Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.groonga
PKG_SUPPORTED_OPTIONS= mecab tests zlib lzo groonga-suggest-learner
PKG_SUGGESTED_OPTIONS= mecab
.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