aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTakeshi Ohishi2011-01-26 18:34:27 -0800
committerMike McQuaid2011-02-12 13:49:59 +0000
commit299ce61936a34c69707a3677d01fd45c5edbb726 (patch)
tree6c2b0c8060f4b9a4b94e3b5ade059f87f91baf21 /Library/Formula
parent7aa41cd1ad2a929be2d175cbf051ca6f497f5a59 (diff)
downloadhomebrew-299ce61936a34c69707a3677d01fd45c5edbb726.tar.bz2
Add a option to support WebDAV module
Closes #4035. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nginx.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb
index e3ec9bf83..79dfcf1b8 100644
--- a/Library/Formula/nginx.rb
+++ b/Library/Formula/nginx.rb
@@ -18,7 +18,8 @@ class Nginx < Formula
def options
[
- ['--with-passenger', "Compile with support for Phusion Passenger module"]
+ ['--with-passenger', "Compile with support for Phusion Passenger module"],
+ ['--with-webdav', "Compile with support for WebDAV module"]
]
end
@@ -40,6 +41,7 @@ class Nginx < Formula
"--conf-path=#{etc}/nginx/nginx.conf", "--pid-path=#{var}/run/nginx.pid",
"--lock-path=#{var}/nginx/nginx.lock"]
args << passenger_config_args if ARGV.include? '--with-passenger'
+ args << "--with-http_dav_module" if ARGV.include? '--with-webdav'
system "./configure", *args
system "make install"