From f222c94465f4f8a9eec3bf22af768a38d1cd8474 Mon Sep 17 00:00:00 2001 From: Owen Smith Date: Tue, 7 Aug 2012 15:33:03 +0100 Subject: sphinx: Add option for 64-bit document ID support Closes #14024. Signed-off-by: Adam Vandenberg --- Library/Formula/sphinx.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3