diff options
| author | Pavel Puchkin | 2014-07-10 11:39:45 +0300 |
|---|---|---|
| committer | Mike McQuaid | 2014-07-10 10:06:27 -0700 |
| commit | ee8fb5b3d53cfa24c9e13e6bf31804c82c2b136b (patch) | |
| tree | 6e21e94f4517a25ccec570e9b1365adcabfe15d5 /Library | |
| parent | 35a1487fa492edaaa0d2260b22c6eaa8a7bbc43e (diff) | |
| download | homebrew-ee8fb5b3d53cfa24c9e13e6bf31804c82c2b136b.tar.bz2 | |
sphinx: add re2 option
In order to use [regexp_filter][] feature Sphinx must be compiled with
re2 support
[regexp_filter]: http://sphinxsearch.com/docs/current.html#conf-regexp-filter
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/sphinx.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/sphinx.rb b/Library/Formula/sphinx.rb index 50175ea5e..990db72ab 100644 --- a/Library/Formula/sphinx.rb +++ b/Library/Formula/sphinx.rb @@ -15,7 +15,9 @@ class Sphinx < Formula option 'mysql', 'Force compiling against MySQL' option 'pgsql', 'Force compiling against PostgreSQL' option 'id64', 'Force compiling with 64-bit ID support' + option 're2', 'Force compiling with regular expressions support' + depends_on "re2" => :optional depends_on :mysql if build.include? 'mysql' depends_on :postgresql if build.include? 'pgsql' |
