diff options
| author | aktowns | 2010-11-16 16:35:28 +1100 |
|---|---|---|
| committer | Adam Vandenberg | 2010-11-15 21:42:39 -0800 |
| commit | 0c8c340c2b12024f01b61a2d235e626b8f820165 (patch) | |
| tree | 55701b4a2a2189d7973f57a5e26e86568b42441c /Library/Formula | |
| parent | 5476f9a5c107bae1765d90345832e85074ed64ca (diff) | |
| download | homebrew-0c8c340c2b12024f01b61a2d235e626b8f820165.tar.bz2 | |
Added --with-fts option to sqlite3 formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sqlite.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/sqlite.rb b/Library/Formula/sqlite.rb index d5ed9892a..9c4b1ed73 100644 --- a/Library/Formula/sqlite.rb +++ b/Library/Formula/sqlite.rb @@ -8,12 +8,14 @@ class Sqlite <Formula def options [ ["--with-rtree", "Enables the R*Tree index module"], + ["--with-fts", "Enables the FTS Module"], ["--universal", "Build a universal binary."] ] end def install ENV.append "CFLAGS", "-DSQLITE_ENABLE_RTREE=1" if ARGV.include? "--with-rtree" + ENV.append "CPPFLAGS","-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS" if ARGV.include? "--with-fts" ENV.universal_binary if ARGV.include? "--universal" system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" |
