aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-02-11 20:01:44 -0600
committerJack Nagel2013-02-11 20:07:52 -0600
commit37e54ca479c090d701ebd4130d7d92d562c5d0e2 (patch)
tree6f45f0f1b55a162a183e7513029f3b69ab908423 /Library
parent30cfe7f1c6a6c2becf75c2739f152d13c69c1c65 (diff)
downloadhomebrew-37e54ca479c090d701ebd4130d7d92d562c5d0e2.tar.bz2
lighttpd: optional dep on libev
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/lighttpd.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/lighttpd.rb b/Library/Formula/lighttpd.rb
index e39e9a18b..315988d95 100644
--- a/Library/Formula/lighttpd.rb
+++ b/Library/Formula/lighttpd.rb
@@ -10,6 +10,7 @@ class Lighttpd < Formula
depends_on 'pkg-config' => :build
depends_on 'pcre'
depends_on 'lua' => :optional
+ depends_on 'libev' => :optional
def install
args = %W[
@@ -19,6 +20,8 @@ class Lighttpd < Formula
--with-ldap
]
args << "--with-lua" if build.with? 'lua'
+ args << "--with-libev" if build.with? 'libev'
+
system "./configure", *args
system "make install"
end