aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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.