aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-25 21:24:39 -0800
committerAdam Vandenberg2014-02-27 08:21:21 -0800
commitef5de81570d8b7c535374110acfcd232e112b4a1 (patch)
treeeb476d00568019947fdd2a1ab0e87c4d864e6b1a /Library
parent9b046567d50ae1b68b1f83c3350ec6c75b71a976 (diff)
downloadhomebrew-ef5de81570d8b7c535374110acfcd232e112b4a1.tar.bz2
nginx: use Formula[]
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}"