libmongoclient: use Formula[]

This commit is contained in:
Adam Vandenberg committed 2014-02-27 08:21:20 -08:00
1 parent cb054ecdd4
commit 511b949f9d
1 file changed
+2 -2
+2 -2
View File
@@ -11,7 +11,7 @@ class Libmongoclient < Formula
depends_on 'boost' => :build
def install
boost = Formula.factory('boost').opt_prefix
boost = Formula["boost"].opt_prefix
args = [
"--prefix=#{prefix}",
@@ -29,6 +29,6 @@ class Libmongoclient < Formula
args << "--libc++"
end
scons 'install-mongoclient', *args
scons "install-mongoclient", *args
end
end