commit: 2e6b7a4b972c110a62877daf862231eb99c08c1f
Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
AuthorDate: Fri May 11 07:40:16 2018 +0000
Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Fri May 11 07:43:27 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6b7a4b
net-analyzer/suricata: fixed problems with compilation
Fixed problems with compilation using lua and luajit
Package-Manager: Portage-2.3.36, Repoman-2.3.9
net-analyzer/suricata/suricata-4.0.3.ebuild | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/net-analyzer/suricata/suricata-4.0.3.ebuild
b/net-analyzer/suricata/suricata-4.0.3.ebuild
index e501c9c775b..19c4e17ebb2 100644
--- a/net-analyzer/suricata/suricata-4.0.3.ebuild
+++ b/net-analyzer/suricata/suricata-4.0.3.ebuild
@@ -27,10 +27,8 @@ DEPEND="
sys-apps/file
cuda? ( dev-util/nvidia-cuda-toolkit )
geoip? ( dev-libs/geoip )
- lua? (
- !luajit? ( dev-lang/lua:* )
- luajit? ( dev-lang/luajit:* )
- )
+ lua? ( dev-lang/lua:* )
+ luajit? ( dev-lang/luajit:* )
nflog? ( net-libs/libnetfilter_log )
nfqueue? ( net-libs/libnetfilter_queue )
redis? ( dev-libs/hiredis )
@@ -83,15 +81,16 @@ src_configure() {
# myeconfargs+=( $(use_enable pfring) )
# fi
# no libprelude in portage
-# if use prelude ; then
+# if use prelude ; theng
# myeconfargs+=( $(use_enable prelude) )
# fi
if use lua ; then
- myeconfargs+=(
- $(use_enable !luajit lua)
- $(use_enable luajit)
- )
- else
+ myeconfargs+=( $(use_enable lua) )
+ fi
+ if use luajit ; then
+ myeconfargs+=( $(use_enable luajit) )
+ fi
+ if (use !lua) && (use !luajit) ; then
myeconfargs+=(
--disable-lua
--disable-luajit