aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-03-07 20:44:22 -0800
committerAdam Vandenberg2014-03-07 20:44:22 -0800
commit621f3a42316e293a9dea42c1f6dc0da464a94794 (patch)
tree68e3b072069ccbbe8244c1a6c40037c6d4d02455 /Library/Formula
parent7cce7f6ebb2d2a8ba12f34b2847fe37b25b1492c (diff)
downloadhomebrew-621f3a42316e293a9dea42c1f6dc0da464a94794.tar.bz2
soci: fix audit
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/soci.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/soci.rb b/Library/Formula/soci.rb
index 4f4afe0e7..c121d2a79 100644
--- a/Library/Formula/soci.rb
+++ b/Library/Formula/soci.rb
@@ -28,7 +28,7 @@ class Soci < Formula
args = std_cmake_args + %w{.. -DWITH_SQLITE3:BOOL=ON}
%w{boost mysql oracle odbc pg}.each do |a|
- bool = build.include?("with-#{a}") ? "ON" : "OFF"
+ bool = build.with?(a) ? "ON" : "OFF"
args << "-DWITH_#{translate(a).upcase}:BOOL=#{bool}"
end