diff options
| author | Jack Nagel | 2014-03-16 21:35:21 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-16 21:35:21 -0500 |
| commit | 7230fe651f5c0386fe257533bd5dcdc970e93c31 (patch) | |
| tree | 01d2e9b1b739a6c929dd5176cf15fbba518a3b3c /Library/Formula | |
| parent | 8466da76fe16a5d680624cb09e0af437b9691deb (diff) | |
| download | homebrew-7230fe651f5c0386fe257533bd5dcdc970e93c31.tar.bz2 | |
mongodb: use checksummed patches
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mongodb.rb | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index 48d9616f4..1e451247f 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -18,6 +18,12 @@ class Mongodb < Formula option "with-boost", "Compile using installed boost, not the version shipped with mongodb" depends_on "boost" => :optional end + + # Fix Clang v8 build failure from build warnings and -Werror + patch do + url "https://github.com/mongodb/mongo/commit/be4bc7.patch" + sha1 "72152f9bec94aaaacb16d0b17511b0862d38ac21" + end end devel do @@ -35,15 +41,6 @@ class Mongodb < Formula depends_on "boost" => :optional end - def patches - if build.stable? - [ - # Fix Clang v8 build failure from build warnings and -Werror - 'https://github.com/mongodb/mongo/commit/be4bc7.patch' - ] - end - end - depends_on 'scons' => :build depends_on 'openssl' => :optional |
