haproxy: remove options
This commit is contained in:
parent
d39de675b0
commit
2c513d8711
1 changed files with 0 additions and 9 deletions
|
@ -13,7 +13,6 @@ class Haproxy < Formula
|
|||
|
||||
depends_on "openssl"
|
||||
depends_on "pcre"
|
||||
depends_on "lua" => :optional
|
||||
|
||||
def install
|
||||
args = %w[
|
||||
|
@ -27,14 +26,6 @@ class Haproxy < Formula
|
|||
ADDLIB=-lcrypto
|
||||
]
|
||||
|
||||
if build.with?("lua")
|
||||
lua = Formula["lua"]
|
||||
args << "USE_LUA=1"
|
||||
args << "LUA_LIB=#{lua.opt_lib}"
|
||||
args << "LUA_INC=#{lua.opt_include}/lua"
|
||||
args << "LUA_LD_FLAGS=-L#{lua.opt_lib}"
|
||||
end
|
||||
|
||||
# We build generic since the Makefile.osx doesn't appear to work
|
||||
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}", "LDFLAGS=#{ENV.ldflags}", *args
|
||||
man1.install "doc/haproxy.1"
|
||||
|
|
Loading…
Reference in a new issue