aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorchdiza2014-03-29 10:10:56 -0400
committerMike McQuaid2014-03-29 09:48:07 -0500
commit514ede69a71a52b55e158f90e6d66fa264032421 (patch)
tree5e666e3912f647d14f25440436d68a62a4aac378 /Library
parentd23979380bdb9c48bb4fa006af3ff8964729db1f (diff)
downloadhomebrew-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.rb2
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}"