aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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