From c1dc4a3355bba05fe0fdde2cc356654752c3af50 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 24 Feb 2014 21:11:05 -0800 Subject: curl: use Formula[] --- Library/Formula/curl.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3