diff --git a/Formula/soci.rb b/Formula/soci.rb index 4f4afe0e7cc..c121d2a7921 100644 --- a/Formula/soci.rb +++ b/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