net/haproxy: add lua flavor.
PR: 255052 Submitted by: Mark Deneen <mdeneen@gmail.com>
This commit is contained in:
parent
ed94bb1c1d
commit
41f30e3a1f
@ -11,6 +11,13 @@ COMMENT= Reliable, high performance TCP/HTTP load balancer
|
||||
LICENSE= GPLv2 LGPL21
|
||||
LICENSE_COMB= multi
|
||||
|
||||
FLAVORS= default lua
|
||||
FLAVOR?= ${FLAVORS:[1]}
|
||||
|
||||
default_CONFLICTS_INSTALL= haproxy-lua
|
||||
lua_CONFLICTS_INSTALL= haproxy
|
||||
lua_PKGNAMESUFFIX= -lua
|
||||
|
||||
CONFLICTS_INSTALL= haproxy-devel-[0-9]* haproxy17-[0-9]* haproxy18-[0-9]* haproxy19-[0-9]* haproxy20-[0-9]* haproxy21-[0-9]*
|
||||
|
||||
USES= compiler:c++11-lang cpe gmake
|
||||
@ -41,6 +48,10 @@ OPENSSL_MAKE_ARGS= USE_OPENSSL=1 SSL_LIB=${OPENSSLLIB} SSL_INC=${OPENSSLINC}
|
||||
LUA_USES= lua:53
|
||||
LUA_MAKE_ARGS= USE_LUA=1 LUA_INC=${LUA_INCDIR} LUA_LIB=${LUA_LIBDIR} LUA_LIB_NAME=lua-${LUA_VER}
|
||||
|
||||
.if ${FLAVOR:U} == lua
|
||||
OPTIONS_DEFAULT+= LUA
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
|
||||
|
Loading…
Reference in New Issue
Block a user