bind: use Formula[]

This commit is contained in:
Adam Vandenberg committed 2014-02-27 08:21:15 -08:00
1 parent 835dc1224a
commit 2fed9de643
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ class Bind < Formula
]
if build.with? 'brewed-openssl'
args << "--with-ssl-dir=#{Formula.factory('openssl').opt_prefix}"
args << "--with-ssl-dir=#{Formula['openssl'].opt_prefix}"
elsif MacOS.version > :leopard
# For Xcode-only systems we help a bit to find openssl.
# If CLT.installed?, it evaluates to "/usr", which works.