MongoDB devel 2.5.4

[jn: fix patches]

Closes Homebrew/homebrew#24464.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Ernie Hershey 2013-11-18 18:06:56 -05:00 committed by Jack Nagel
parent 0cff5284fb
commit 1f20991c4c
1 changed files with 3 additions and 7 deletions

View File

@ -6,19 +6,15 @@ class Mongodb < Formula
sha1 '59fa237e102c9760271df9433ee7357dd0ec831f'
devel do
url 'http://downloads.mongodb.org/src/mongodb-src-r2.5.3.tar.gz'
sha1 '8fbd7f6f2a55092ae0e461ee0f5a4a7f738d40c9'
url 'http://downloads.mongodb.org/src/mongodb-src-r2.5.4.tar.gz'
sha1 'ad40b93c9638178cd487c80502084ac3a9472270'
end
head 'https://github.com/mongodb/mongo.git'
def patches
# Fix osx_min_verson issues with clang
# This ensures libstdc++ is picked, since mongodb is not yet compatible
p = []
p << 'https://github.com/mongodb/mongo/commit/978af9.patch' if build.devel?
# Fix Clang v8 build failure from build warnings and -Werror
p << 'https://github.com/mongodb/mongo/commit/be4bc7.patch' if build.stable?
'https://github.com/mongodb/mongo/commit/be4bc7.patch' if build.stable?
end
depends_on 'scons' => :build