aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/stunnel.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/stunnel.rb b/Library/Formula/stunnel.rb
index 352f79a7e..3e35828fe 100644
--- a/Library/Formula/stunnel.rb
+++ b/Library/Formula/stunnel.rb
@@ -28,7 +28,7 @@ class Stunnel < Formula
]
if MacOS.version <= :leopard or build.with?('brewed-openssl')
- args << "--with-ssl-dir=#{Formula.factory('openssl').opt_prefix}"
+ args << "--with-ssl-dir=#{Formula["openssl"].opt_prefix}"
end
system "./configure", *args