libcouchbase: Replace interpolation with .to_s
Closes #1240. Signed-off-by: Alex Dunn <adunn@ucsb.edu>
This commit is contained in:
parent
f56959a6eb
commit
91c2406dc6
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue