diff options
Diffstat (limited to 'net-proxy/haproxy/haproxy-2.0.22-r1.ebuild')
-rw-r--r-- | net-proxy/haproxy/haproxy-2.0.22-r1.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net-proxy/haproxy/haproxy-2.0.22-r1.ebuild b/net-proxy/haproxy/haproxy-2.0.22-r1.ebuild index 42c17e31be40..6335de9e4750 100644 --- a/net-proxy/haproxy/haproxy-2.0.22-r1.ebuild +++ b/net-proxy/haproxy/haproxy-2.0.22-r1.ebuild @@ -3,8 +3,10 @@ EAPI="7" +LUA_COMPAT=( lua5-3 ) + [[ ${PV} == *9999 ]] && SCM="git-r3" -inherit toolchain-funcs flag-o-matic systemd linux-info ${SCM} +inherit toolchain-funcs flag-o-matic lua-single systemd linux-info ${SCM} MY_P="${PN}-${PV/_beta/-dev}" @@ -25,9 +27,11 @@ ssl systemd +threads tools vim-syntax +zlib lua device-atlas 51degrees wurfl" REQUIRED_USE="pcre-jit? ( pcre ) pcre2-jit? ( pcre2 ) pcre? ( !pcre2 ) + lua? ( ${LUA_REQUIRED_USE} ) device-atlas? ( pcre ) ?? ( slz zlib )" +BDEPEND="virtual/pkgconfig" DEPEND=" crypt? ( virtual/libcrypt:= ) pcre? ( @@ -44,7 +48,7 @@ DEPEND=" slz? ( dev-libs/libslz:= ) systemd? ( sys-apps/systemd ) zlib? ( sys-libs/zlib ) - lua? ( dev-lang/lua:5.3 ) + lua? ( ${LUA_DEPS} ) device-atlas? ( dev-libs/device-atlas-api-c )" RDEPEND="${DEPEND} acct-group/haproxy @@ -66,6 +70,7 @@ haproxy_use() { } pkg_setup() { + use lua && lua-single_pkg_setup if use net_ns; then CONFIG_CHECK="~NET_NS" linux-info_pkg_setup |