libcouchbase: Replace interpolation with .to_s

Closes #1240.

Signed-off-by: Alex Dunn <adunn@ucsb.edu>
This commit is contained in:
Mark Nunberg 2016-05-18 08:26:16 -07:00 committed by Alex Dunn
parent f56959a6eb
commit 91c2406dc6

View file

@ -28,8 +28,8 @@ class Libcouchbase < Formula
args = std_cmake_args
args << "-DLCB_NO_TESTS=1"
["libev", "libevent", "libuv"].each do |pname|
args << "-DLCB_BUILD_#{pname.upcase}=" + (build.with?("#{pname}") ? "ON" : "OFF")
["libev", "libevent", "libuv"].each do |dep|
args << "-DLCB_BUILD_#{dep.upcase}=" + (build.with?(dep) ? "ON" : "OFF")
end
if build.universal?
args << "-DLCB_UNIVERSAL_BINARY=1"