diff options
| author | antbryan | 2013-04-11 14:45:08 -0300 |
|---|---|---|
| committer | Jack Nagel | 2013-04-12 20:01:31 -0500 |
| commit | 383ccc24f9ef5d8ae032cdf702b0069935cef176 (patch) | |
| tree | 6c71ba30b1d863bb521559e1dce15ea9040fab2b | |
| parent | 7f85d46b6280aa78c894ce1cf04ed4e8d6196f54 (diff) | |
| download | homebrew-383ccc24f9ef5d8ae032cdf702b0069935cef176.tar.bz2 | |
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 <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/curl.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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" |
