diff options
| author | Samuel John | 2013-08-27 15:17:54 +0200 |
|---|---|---|
| committer | Samuel John | 2013-08-27 15:17:54 +0200 |
| commit | 4e2dbef4336679663d3b3b3d6a8c4290daded22f (patch) | |
| tree | 7b1c65db12b7912a32613403f0fc9b217c1b0521 /Library/Formula | |
| parent | 0cddc3583d084f757b2cb27b7ab1adfce53510bb (diff) | |
| download | homebrew-4e2dbef4336679663d3b3b3d6a8c4290daded22f.tar.bz2 | |
konoha: --HEAD and adding mecab dep for 10.8+
because 10.7 is the last SDK that has mecab.h.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/konoha.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/konoha.rb b/Library/Formula/konoha.rb index 4ec90febc..239cd3c38 100644 --- a/Library/Formula/konoha.rb +++ b/Library/Formula/konoha.rb @@ -5,6 +5,8 @@ class Konoha < Formula url 'https://github.com/konoha-project/konoha3/archive/v0.1.tar.gz' sha1 '85ee3527c9a2db2874280e506c09aab8809a6ad5' + head 'https://github.com/konoha-project/konoha3.git' + option 'tests', 'Verify the build with make test (1 min)' depends_on 'cmake' => :build @@ -12,15 +14,11 @@ class Konoha < Formula depends_on 'pcre' depends_on 'json-c' depends_on 'sqlite' + depends_on 'mecab' if MacOS.version >= :mountain_lion depends_on :python # for python glue code def install args = std_cmake_args + ['..'] - # mecab is no longer in the 10.8 SDK but superenv does not (yet) support - # switching to an older SDK. And if we add the include path so that - # `mecab.h` is found, we get more errors in mecab_glue.c: - # error: no member named 'id' in 'struct mecab_node_t' - args << "-DHAVE_LIBMECAB=OFF" if MacOS.version >= :mountain_lion mkdir 'build' do system 'cmake', *args system 'make' |
