Skip to content

Commit

Permalink
lighttpd: optional dep on libev
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Feb 12, 2013
1 parent d00f74c commit 8bb1931
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Formula/lighttpd.rb
Expand Up @@ -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[
Expand All @@ -19,6 +20,8 @@ def install
--with-ldap
]
args << "--with-lua" if build.with? 'lua'
args << "--with-libev" if build.with? 'libev'

system "./configure", *args
system "make install"
end
Expand Down

0 comments on commit 8bb1931

Please sign in to comment.