From 4d8a0bd81817b9513b2cc67cc0f2fe0967abb975 Mon Sep 17 00:00:00 2001 From: hisanori Date: Mon, 26 May 2014 18:00:39 +0900 Subject: [PATCH] mongodb24: Fix installation failure on OSX10.8 or former Closes #437. Signed-off-by: Xiyue Deng --- mongodb24.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mongodb24.rb b/mongodb24.rb index 3fc34d8f751a76..8862ad846182f4 100644 --- a/mongodb24.rb +++ b/mongodb24.rb @@ -13,13 +13,13 @@ class Mongodb24 < Formula depends_on 'scons' => :build depends_on 'openssl' => :optional - def install - # When 2.6 is released this conditional can be removed. - if MacOS.version < :mavericks - option "with-boost", "Compile using installed boost, not the version shipped with mongodb" - depends_on "boost" => :optional - end + # When 2.6 is released this conditional can be removed. + if MacOS.version < :mavericks + option "with-boost", "Compile using installed boost, not the version shipped with mongodb" + depends_on "boost" => :optional + end + def install args = ["--prefix=#{prefix}", "-j#{ENV.make_jobs}"] cxx = ENV.cxx