From 383ccc24f9ef5d8ae032cdf702b0069935cef176 Mon Sep 17 00:00:00 2001 From: antbryan Date: Thu, 11 Apr 2013 14:45:08 -0300 Subject: curl: add --with-darwinssl option since curl 7.27, there is an option to build with support for Secure Transport, the native API for doing SSL on Mac OS X and iOS. http://daniel.haxx.se/blog/2012/06/28/darwin-native-ssl-for-curl/ Closes #19136. Signed-off-by: Jack Nagel --- Library/Formula/curl.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/curl.rb b/Library/Formula/curl.rb index 6045fb890..01adfacde 100644 --- a/Library/Formula/curl.rb +++ b/Library/Formula/curl.rb @@ -12,6 +12,7 @@ class Curl < Formula option 'with-libmetalink', 'Build with Metalink support' option 'with-ares', 'Build with C-Ares async DNS support' option 'with-ssl', 'Build with Homebrew OpenSSL instead of the system version' + option 'with-darwinssl' 'Build with Secure Transport for SSL support' depends_on 'pkg-config' => :build depends_on 'libssh2' if build.include? 'with-ssh' @@ -30,6 +31,7 @@ class Curl < Formula args << "--with-libmetalink" if build.include? 'with-libmetalink' args << "--enable-ares=#{Formula.factory("c-ares").opt_prefix}" if build.include? 'with-ares' args << "--with-ssl=#{Formula.factory("openssl").opt_prefix}" if build.include? 'with-ssl' + args << "--with-darwinssl" if build.include? 'with-darwinssl' system "./configure", *args system "make install" -- cgit v1.2.3