diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mongodb.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index 513c46f28..05b1a537a 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -31,6 +31,8 @@ class Mongodb < Formula # 2.6, but can't be backported to the current stable release. ENV.cxx += ' -stdlib=libstdc++' if ENV.compiler == :clang && MacOS.version >= :mavericks + scons = Formula.factory('scons').opt_prefix/'bin/scons' + args = ["--prefix=#{prefix}", "-j#{ENV.make_jobs}"] args << '--64' if MacOS.prefer_64_bit? args << "--cc=#{ENV.cc}" @@ -41,7 +43,7 @@ class Mongodb < Formula args << "--extrapathdyn=#{Formula.factory('openssl').opt_prefix}" end - system 'scons', 'install', *args + system scons, 'install', *args (prefix+'mongod.conf').write mongodb_conf |
