From ee8fb5b3d53cfa24c9e13e6bf31804c82c2b136b Mon Sep 17 00:00:00 2001 From: Pavel Puchkin Date: Thu, 10 Jul 2014 11:39:45 +0300 Subject: 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 --- Library/Formula/sphinx.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Formula/sphinx.rb') 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' -- cgit v1.2.3