diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-07-16 12:42:00 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-07-16 12:42:20 +0200 |
commit | 4954ea77ad7c979968e8542e23e41c559975f4d3 (patch) | |
tree | 598a66f13c8bafd2d3a9b12c85c56c02e8b20ae0 /net-analyzer/tracebox | |
parent | sys-apps/kbd: Synced live ebuild (diff) | |
download | gentoo-4954ea77ad7c979968e8542e23e41c559975f4d3.tar.gz gentoo-4954ea77ad7c979968e8542e23e41c559975f4d3.tar.bz2 gentoo-4954ea77ad7c979968e8542e23e41c559975f4d3.zip |
net-analyzer/tracebox: Fix building against dev-lang/lua:0
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Closes: https://bugs.gentoo.org/732728
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/tracebox')
-rw-r--r-- | net-analyzer/tracebox/files/tracebox-0.4.4-deps.patch | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/net-analyzer/tracebox/files/tracebox-0.4.4-deps.patch b/net-analyzer/tracebox/files/tracebox-0.4.4-deps.patch index cb47ad0d2ac2..43c0132a49a7 100644 --- a/net-analyzer/tracebox/files/tracebox-0.4.4-deps.patch +++ b/net-analyzer/tracebox/files/tracebox-0.4.4-deps.patch @@ -9,7 +9,7 @@ AX_CXX_COMPILE_STDCXX_11 # Checks for header files. -@@ -32,40 +34,13 @@ +@@ -32,40 +34,14 @@ AC_FUNC_FORK AC_CHECK_FUNCS([gettimeofday memset select socket strtol]) @@ -47,17 +47,18 @@ - fi - ] -) -+PKG_CHECK_MODULES([LUA53], [lua-5.3], [LUA_INCLUDE="${LUA53_CFLAGS}"; LUA_LIB="${LUA53_LIBS}"],AC_MSG_WARN([lua 5.3 not found])) -+PKG_CHECK_MODULES([LUA52], [lua-5.2], [LUA_INCLUDE="${LUA52_CFLAGS}"; LUA_LIB="${LUA52_LIBS}"],AC_MSG_WARN([lua 5.2 not found])) -+PKG_CHECK_MODULES([LUA51], [lua5.1], [LUA_INCLUDE="${LUA51_CFLAGS}"; LUA_LIB="${LUA51_LIBS}"],AC_MSG_WARN([lua 5.1 not found])) ++PKG_CHECK_MODULES([LUA53], [lua-5.3], [LUA_FOUND=5.3; LUA_INCLUDE="${LUA53_CFLAGS}"; LUA_LIB="${LUA53_LIBS}"],AC_MSG_WARN([lua 5.3 not found])) ++PKG_CHECK_MODULES([LUA52], [lua-5.2], [LUA_FOUND=5.2; LUA_INCLUDE="${LUA52_CFLAGS}"; LUA_LIB="${LUA52_LIBS}"],AC_MSG_WARN([lua 5.2 not found])) ++PKG_CHECK_MODULES([LUA51], [lua5.1], [LUA_FOUND=5.1; LUA_INCLUDE="${LUA51_CFLAGS}"; LUA_LIB="${LUA51_LIBS}"],AC_MSG_WARN([lua 5.1 not found])) ++PKG_CHECK_MODULES([LUA], [lua], [LUA_FOUND=5.1-noSLOT; LUA_INCLUDE="${LUA_CFLAGS}"; LUA_LIB="${LUA_LIBS}"],AC_MSG_WARN([lua 5.1 not found])) + -+if test -z "$LUA_INCLUDE" -o -z "$LUA_LIB"; then ++if test -z "$LUA_FOUND"; then + AC_MSG_ERROR([lua 5.3, 5.2 or 5.1 is required]) +fi AC_SUBST(LUA_INCLUDE) AC_SUBST(LUA_LIB) -@@ -121,24 +96,12 @@ +@@ -121,24 +97,12 @@ AC_ARG_WITH(json, [ --with-json=DIR use json-c in DIR], [ case "$withval" in @@ -84,7 +85,7 @@ AC_SUBST(JSON_INCLUDE) AC_SUBST(JSON_LIB) AC_DEFINE([HAVE_JSONC], [1], [Using json-c]) -@@ -153,41 +116,7 @@ +@@ -153,41 +117,7 @@ ] ) @@ -127,7 +128,7 @@ AC_SUBST(PCAPINC) AC_SUBST(PCAPLIB) -@@ -234,17 +163,7 @@ +@@ -234,17 +164,7 @@ AC_CHECK_LIB([pthread], [pthread_create]) ]) @@ -146,7 +147,7 @@ # Enable click submodule AS_IF([test "x$enable_tests" = "xyes"], [ -@@ -254,7 +173,6 @@ +@@ -254,7 +174,6 @@ AC_CONFIG_COMMANDS_PRE([ac_configure_args="$ac_configure_args_pre"]) AC_CONFIG_COMMANDS_POST([ac_configure_args="$ac_configure_args_post"]) |