Skip to content

Commit

Permalink
MongoDB: use scons helper
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Feb 26, 2014
1 parent ee52250 commit 8a2f318
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Formula/mongodb.rb
Expand Up @@ -35,8 +35,6 @@ def install
# 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}"
Expand All @@ -47,7 +45,7 @@ def install
args << "--extrapathdyn=#{Formula.factory('openssl').opt_prefix}"
end

system scons, 'install', *args
scons 'install', *args

(prefix+'mongod.conf').write mongodb_conf

Expand Down

0 comments on commit 8a2f318

Please sign in to comment.