aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bind.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-24 20:37:34 -0800
committerAdam Vandenberg2014-02-27 08:21:15 -0800
commit2fed9de643bf6a77fd99a337170aa409dc634497 (patch)
tree1b517dd262f6a9bf4437cb4bbb987401817521cf /Library/Formula/bind.rb
parent835dc1224a8108054f61a1180df5c5d04e8abfaa (diff)
downloadhomebrew-2fed9de643bf6a77fd99a337170aa409dc634497.tar.bz2
bind: use Formula[]
Diffstat (limited to 'Library/Formula/bind.rb')
-rw-r--r--Library/Formula/bind.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/bind.rb b/Library/Formula/bind.rb
index c5d9cc1df..be0df9730 100644
--- a/Library/Formula/bind.rb
+++ b/Library/Formula/bind.rb
@@ -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.