aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/nginx.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb
index 6f8b95882..ba236b45b 100644
--- a/Library/Formula/nginx.rb
+++ b/Library/Formula/nginx.rb
@@ -46,8 +46,8 @@ class Nginx < Formula
# Changes default port to 8080
inreplace 'conf/nginx.conf', 'listen 80;', 'listen 8080;'
- pcre = Formula.factory("pcre")
- openssl = Formula.factory("openssl")
+ pcre = Formula["pcre"]
+ openssl = Formula["openssl"]
cc_opt = "-I#{pcre.include} -I#{openssl.include}"
ld_opt = "-L#{pcre.lib} -L#{openssl.lib}"