aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sphinx.rb
diff options
context:
space:
mode:
authorOwen Smith2012-08-07 15:33:03 +0100
committerAdam Vandenberg2012-08-10 09:46:39 -0700
commitf222c94465f4f8a9eec3bf22af768a38d1cd8474 (patch)
tree116deafdc5c0c3a1fa5d9e2d2652b1220e66cdf8 /Library/Formula/sphinx.rb
parent288e4773a8568de1d5f258b552ce2c525d213362 (diff)
downloadhomebrew-f222c94465f4f8a9eec3bf22af768a38d1cd8474.tar.bz2
sphinx: Add option for 64-bit document ID support
Closes #14024. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/sphinx.rb')
-rw-r--r--Library/Formula/sphinx.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/sphinx.rb b/Library/Formula/sphinx.rb
index da54e0346..83ba661af 100644
--- a/Library/Formula/sphinx.rb
+++ b/Library/Formula/sphinx.rb
@@ -31,6 +31,7 @@ class Sphinx < Formula
[
['--mysql', 'Force compiling against MySQL.'],
['--pgsql', 'Force compiling against PostgreSQL.'],
+ ['--id64', 'Force compiling with 64-bit ID support'],
]
end
@@ -46,6 +47,7 @@ class Sphinx < Formula
# configure script won't auto-select PostgreSQL
args << "--with-pgsql" if ARGV.include?('--pgsql') or which 'pg_config'
+ args << "--enable-id64" if ARGV.include?('--id64')
args << "--without-mysql" unless ARGV.include?('--mysql') or which 'mysql_config'
system "./configure", *args