| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.6 2013/12/04 14:01:15 obache Exp $ | | 1 | # $NetBSD: options.mk,v 1.7 2014/01/23 05:59:14 obache Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | PKG_OPTIONS_VAR= PKG_OPTIONS.groonga | | 4 | PKG_OPTIONS_VAR= PKG_OPTIONS.groonga |
5 | PKG_SUPPORTED_OPTIONS= mecab tests zlib lzo | | 5 | PKG_SUPPORTED_OPTIONS= mecab tests zlib lzo |
6 | PKG_SUPPORTED_OPTIONS+= groonga-suggest-learner groonga-httpd | | 6 | PKG_SUPPORTED_OPTIONS+= groonga-suggest-learner groonga-httpd |
7 | PKG_SUGGESTED_OPTIONS= mecab groonga-suggest-learner groonga-httpd | | 7 | PKG_SUGGESTED_OPTIONS= mecab groonga-suggest-learner groonga-httpd |
8 | | | 8 | |
9 | .include "../../mk/bsd.options.mk" | | 9 | .include "../../mk/bsd.options.mk" |
10 | | | 10 | |
11 | PLIST_VARS+= mecab learner httpd | | 11 | PLIST_VARS+= mecab learner httpd |
12 | | | 12 | |
13 | .if !empty(PKG_OPTIONS:Mmecab) | | 13 | .if !empty(PKG_OPTIONS:Mmecab) |
14 | CONFIGURE_ARGS+= --with-mecab | | 14 | CONFIGURE_ARGS+= --with-mecab |
| @@ -22,27 +22,27 @@ CONFIGURE_ARGS+= --without-mecab | | | @@ -22,27 +22,27 @@ CONFIGURE_ARGS+= --without-mecab |
22 | .if !empty(PKG_OPTIONS:Mtests) | | 22 | .if !empty(PKG_OPTIONS:Mtests) |
23 | CONFIGURE_ARGS+= --with-cutter | | 23 | CONFIGURE_ARGS+= --with-cutter |
24 | USE_TOOLS+= gmake | | 24 | USE_TOOLS+= gmake |
25 | TEST_TARGET= check | | 25 | TEST_TARGET= check |
26 | TEST_ENV+= RUBYOPT="-Ku" | | 26 | TEST_ENV+= RUBYOPT="-Ku" |
27 | .include "../../lang/ruby/buildlink3.mk" | | 27 | .include "../../lang/ruby/buildlink3.mk" |
28 | BUILDLINK_API_DEPENDS.cutter+= cutter>=1.1.6 | | 28 | BUILDLINK_API_DEPENDS.cutter+= cutter>=1.1.6 |
29 | .include "../../devel/cutter/buildlink3.mk" | | 29 | .include "../../devel/cutter/buildlink3.mk" |
30 | # XXX: no way to add build dependency on json | | 30 | # XXX: no way to add build dependency on json |
31 | #RUBY_JSON_REQD= 1.8.0 | | 31 | #RUBY_JSON_REQD= 1.8.0 |
32 | #.include "../../lang/ruby/json.mk" | | 32 | #.include "../../lang/ruby/json.mk" |
33 | BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-bundler-[0-9]*:../../misc/ruby-bundler | | 33 | BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-bundler-[0-9]*:../../misc/ruby-bundler |
34 | BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-msgpack>=0.5.6:../../devel/ruby-msgpack | | 34 | BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-msgpack>=0.5.6:../../devel/ruby-msgpack |
35 | BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-test-unit>=2.5.5:../../devel/ruby-msgpack | | 35 | BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-test-unit>=2.5.5:../../devel/ruby-test-unit |
36 | BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-test-unit-notify>=1.0.1:../../devel/ruby-test-unit-notify | | 36 | BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-test-unit-notify>=1.0.1:../../devel/ruby-test-unit-notify |
37 | .else | | 37 | .else |
38 | CONFIGURE_ARGS+= --without-cutter | | 38 | CONFIGURE_ARGS+= --without-cutter |
39 | .endif | | 39 | .endif |
40 | | | 40 | |
41 | .if !empty(PKG_OPTIONS:Mzlib) | | 41 | .if !empty(PKG_OPTIONS:Mzlib) |
42 | CONFIGURE_ARGS+= --with-zlib | | 42 | CONFIGURE_ARGS+= --with-zlib |
43 | .include "../../devel/zlib/buildlink3.mk" | | 43 | .include "../../devel/zlib/buildlink3.mk" |
44 | .else | | 44 | .else |
45 | CONFIGURE_ARGS+= --without-zlib | | 45 | CONFIGURE_ARGS+= --without-zlib |
46 | .endif | | 46 | .endif |
47 | | | 47 | |
48 | .if !empty(PKG_OPTIONS:Mlzo) | | 48 | .if !empty(PKG_OPTIONS:Mlzo) |