Skip to content

Commit

Permalink
mongodb24: Fix installation failure on OSX10.8 or former
Browse files Browse the repository at this point in the history
Closes Homebrew#437.

Signed-off-by: Xiyue Deng <manphiz@gmail.com>
  • Loading branch information
paulownia authored and manphiz committed May 31, 2014
1 parent 60c60cf commit 4d8a0bd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mongodb24.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d8a0bd

Please sign in to comment.