Permalink
Browse files

mongo-c: add extra steps and deps for HEAD

Closes Homebrew/legacy-homebrew#37032.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
  • Loading branch information...
TylerBrock authored and tdsmith committed Feb 21, 2015
1 parent 43fc2bd commit b546c2894e667587a591cff26e0361c9eb04464e
Showing with 10 additions and 1 deletion.
  1. +10 −1 Formula/mongo-c.rb
View
@@ -12,7 +12,12 @@ class MongoC < Formula
sha1 "b547c663729e6ec4944462c8d305643dd83d452f" => :mountain_lion
end
head "https://github.com/mongodb/mongo-c-driver.git"
head do
url "https://github.com/mongodb/mongo-c-driver.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
depends_on "pkg-config" => :build
depends_on "libbson"
@@ -22,6 +27,10 @@ def install
# --enable-sasl=no: https://jira.mongodb.org/browse/CDRIVER-447
args = ["--prefix=#{prefix}", "--enable-sasl=no"]
if build.head?
system "./autogen.sh"
end
if build.with?('openssl')
args << "--enable-ssl=yes"
else

0 comments on commit b546c28

Please sign in to comment.