From ef5de81570d8b7c535374110acfcd232e112b4a1 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 25 Feb 2014 21:24:39 -0800 Subject: nginx: use Formula[] --- Library/Formula/nginx.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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}" -- cgit v1.2.3