diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
commit | 514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (patch) | |
tree | 555c194dbeb0fb2ac4ad3cde7c0f6a80fd330ce2 /net-proxy/haproxy/haproxy-2.2.9999.ebuild | |
parent | 4df3bf9762850b34cd1ead5c80374d1a0fc3362e (diff) |
gentoo resync : 17.07.2021
Diffstat (limited to 'net-proxy/haproxy/haproxy-2.2.9999.ebuild')
-rw-r--r-- | net-proxy/haproxy/haproxy-2.2.9999.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net-proxy/haproxy/haproxy-2.2.9999.ebuild b/net-proxy/haproxy/haproxy-2.2.9999.ebuild index 42c17e31be40..6335de9e4750 100644 --- a/net-proxy/haproxy/haproxy-2.2.9999.ebuild +++ b/net-proxy/haproxy/haproxy-2.2.9999.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 |