aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSamuel John2013-01-11 11:32:35 +0100
committerMike McQuaid2013-01-11 10:42:22 +0000
commit59a5d2ee127c752215fee46904fb069ee9cf0c8a (patch)
treecc3eebe3a6525126aaa85378c788c4fecc6d4c63 /Library/Formula
parent1d8f01d8af394a7501f5bf3a1e51796c1a7548a1 (diff)
downloadhomebrew-59a5d2ee127c752215fee46904fb069ee9cf0c8a.tar.bz2
sqlite: keg_only
Closes #17000. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sqlite.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/sqlite.rb b/Library/Formula/sqlite.rb
index 4ec4da6f8..bcc2bf30c 100644
--- a/Library/Formula/sqlite.rb
+++ b/Library/Formula/sqlite.rb
@@ -26,6 +26,8 @@ class Sqlite < Formula
option 'with-fts', 'Enable the FTS module'
option 'with-functions', 'Enable more math and string functions for SQL queries'
+ keg_only "OS X already provides (an older) sqlite3."
+
def install
ENV.append 'CPPFLAGS', "-DSQLITE_ENABLE_RTREE" unless build.include? "without-rtree"
ENV.append 'CPPFLAGS', "-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS" if build.include? "with-fts"