aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-24 21:11:05 -0800
committerAdam Vandenberg2014-02-27 08:21:15 -0800
commitc1dc4a3355bba05fe0fdde2cc356654752c3af50 (patch)
tree7f31bb0695726e3cd00e721be742795586c4ccab /Library/Formula
parent7d24108b1fcee6eb615613f092a4d0d4f2a12dc4 (diff)
downloadhomebrew-c1dc4a3355bba05fe0fdde2cc356654752c3af50.tar.bz2
curl: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/curl.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/curl.rb b/Library/Formula/curl.rb
index d48e720bb..93a4102f7 100644
--- a/Library/Formula/curl.rb
+++ b/Library/Formula/curl.rb
@@ -32,14 +32,14 @@ class Curl < Formula
]
if MacOS.version < :mountain_lion or build.with? "openssl"
- args << "--with-ssl=#{Formula.factory("openssl").opt_prefix}"
+ args << "--with-ssl=#{Formula["openssl"].opt_prefix}"
else
args << "--with-darwinssl"
end
args << "--with-libssh2" if build.with? 'ssh'
args << "--with-libmetalink" if build.with? 'libmetalink'
- args << "--enable-ares=#{Formula.factory("c-ares").opt_prefix}" if build.with? 'ares'
+ args << "--enable-ares=#{Formula["c-ares"].opt_prefix}" if build.with? 'ares'
args << "--with-gssapi" if build.with? 'gssapi'
system "./configure", *args