diff options
| author | Adam Vandenberg | 2014-02-25 07:34:55 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-25 20:29:08 -0800 |
| commit | 3141212de8eb458f0454e6285f4c735011a5c5e5 (patch) | |
| tree | d1b5062e6c88e1134c7b1d3ff14e40d60ef5102f /Library | |
| parent | 6f40ec7abc6c44b4f52e660c36d8c8aed8e39532 (diff) | |
| download | homebrew-3141212de8eb458f0454e6285f4c735011a5c5e5.tar.bz2 | |
MongoDB: use scons helper
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mongodb.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index 7d68f8577..cf2737ed7 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -35,8 +35,6 @@ 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}" @@ -47,7 +45,7 @@ class Mongodb < Formula args << "--extrapathdyn=#{Formula.factory('openssl').opt_prefix}" end - system scons, 'install', *args + scons 'install', *args (prefix+'mongod.conf').write mongodb_conf |
