aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorantbryan2013-04-11 14:45:08 -0300
committerJack Nagel2013-04-12 20:01:31 -0500
commit383ccc24f9ef5d8ae032cdf702b0069935cef176 (patch)
tree6c71ba30b1d863bb521559e1dce15ea9040fab2b /Library
parent7f85d46b6280aa78c894ce1cf04ed4e8d6196f54 (diff)
downloadhomebrew-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>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/curl.rb2
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"