wget: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-25 21:35:14 -08:00
parent 4f5255b3b9
commit ef77342a82

View file

@ -37,7 +37,7 @@ class Wget < Formula
--prefix=#{prefix}
--sysconfdir=#{etc}
--with-ssl=openssl
--with-libssl-prefix=#{Formula.factory("openssl").opt_prefix}
--with-libssl-prefix=#{Formula["openssl"].opt_prefix}
]
args << "--disable-debug" unless build.include? "enable-debug"