diff options
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/suricata/suricata-4.0.3.ebuild | 19 |
1 files 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 e501c9c775b2..19c4e17ebb26 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 |