aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
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