summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2018-05-11 09:40:16 +0200
committerSlawomir Lis <slis@gentoo.org>2018-05-11 09:43:27 +0200
commit2e6b7a4b972c110a62877daf862231eb99c08c1f (patch)
tree752645bffde61a0efeb1bd5d1f7ca823f2eb8fec /net-analyzer/suricata
parentdev-lang/nasm: Keyword ~amd64-fbsd, bug #655428 (diff)
downloadgentoo-2e6b7a4b972c110a62877daf862231eb99c08c1f.tar.gz
gentoo-2e6b7a4b972c110a62877daf862231eb99c08c1f.tar.bz2
gentoo-2e6b7a4b972c110a62877daf862231eb99c08c1f.zip
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
Diffstat (limited to 'net-analyzer/suricata')
-rw-r--r--net-analyzer/suricata/suricata-4.0.3.ebuild19
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