diff options
| author | chdiza | 2014-03-29 10:10:56 -0400 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-29 09:48:07 -0500 |
| commit | 514ede69a71a52b55e158f90e6d66fa264032421 (patch) | |
| tree | 5e666e3912f647d14f25440436d68a62a4aac378 /Library | |
| parent | d23979380bdb9c48bb4fa006af3ff8964729db1f (diff) | |
| download | homebrew-514ede69a71a52b55e158f90e6d66fa264032421.tar.bz2 | |
curl: Remove duplicate conditional
Also, make sure that the libmetalink option is declared.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/curl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/curl.rb b/Library/Formula/curl.rb index b3cf1b0b7..d62912071 100644 --- a/Library/Formula/curl.rb +++ b/Library/Formula/curl.rb @@ -13,6 +13,7 @@ class Curl < Formula option 'with-ssh', 'Build with scp and sftp support' option 'with-ares', 'Build with C-Ares async DNS support' option 'with-gssapi', 'Build with GSSAPI/Kerberos authentication support.' + option 'with-libmetalink', 'Build with libmetalink support.' if MacOS.version >= :mountain_lion option 'with-openssl', 'Build with OpenSSL instead of Secure Transport' @@ -46,7 +47,6 @@ class Curl < Formula args << (build.with?("libmetalink") ? "--with-libmetalink" : "--without-libmetalink") args << (build.with?("gssapi") ? "--with-gssapi" : "--without-gssapi") args << (build.with?("rtmp") ? "--with-librtmp" : "--without-librtmp") - args << (build.with?("gssapi") ? "--with-gssapi" : "--without-gssapi") if build.with? "ares" args << "--enable-ares=#{Formula["c-ares"].opt_prefix}" |
