aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sqlite.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-03-06 20:40:26 +0000
committerMike McQuaid2014-03-08 00:54:35 +0000
commit9de9f8d10e8e6d8c2d7cf7b74e6085038fc728d9 (patch)
tree2c9f666ed5bda1fdf28f56b4637fb4d6c5ccc0a1 /Library/Formula/sqlite.rb
parente6dd316f1e5988f50f524c627c38ce5473097cc1 (diff)
downloadhomebrew-9de9f8d10e8e6d8c2d7cf7b74e6085038fc728d9.tar.bz2
formulae: fix with/without usage.
Closes #27275. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/sqlite.rb')
-rw-r--r--Library/Formula/sqlite.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/sqlite.rb b/Library/Formula/sqlite.rb
index 58633b872..058fe01c7 100644
--- a/Library/Formula/sqlite.rb
+++ b/Library/Formula/sqlite.rb
@@ -37,7 +37,7 @@ class Sqlite < Formula
end
def install
- ENV.append 'CPPFLAGS', "-DSQLITE_ENABLE_RTREE" unless build.without? "rtree"
+ ENV.append 'CPPFLAGS', "-DSQLITE_ENABLE_RTREE" if build.with? "rtree"
ENV.append 'CPPFLAGS', "-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS" if build.with? "fts"
ENV.append 'CPPFLAGS', "-DSQLITE_ENABLE_COLUMN_METADATA"