treewide: add HAS_LUAJIT_ARCH dependency to luajit user 22195/head
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 23 Sep 2023 17:02:07 +0000 (19:02 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 25 Sep 2023 15:42:02 +0000 (17:42 +0200)
Add HAS_LUAJIT_ARCH dependency to any user of luajit to fix circular
dependency limitation.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
net/dnsdist/Makefile
net/knot-resolver/Makefile
net/nginx/Makefile
net/snort/Makefile
net/snort3/Makefile

index a9bb2e2bb931d119fd7418cc61bbc7ca2e29107b..50b0cfacb5ddf418ebca103efd6abf7cffde0277 100644 (file)
@@ -35,7 +35,7 @@ define Package/dnsdist/Default
          +libatomic \
          +libcap \
          +libstdcpp \
-         +luajit
+         @HAS_LUAJIT_ARCH +luajit
   URL:=https://dnsdist.org/
   VARIANT:=$(1)
   PROVIDES:=dnsdist
index 8732ff7f3339aed1ca91bd218409698a9c95e68f..735e1f7d263820bfb44b4f00a489ae8538fda2b6 100644 (file)
@@ -34,7 +34,7 @@ define Package/knot-resolver
     +knot-libs \
     +knot-libzscanner \
     +libuv \
-    +luajit \
+    @HAS_LUAJIT_ARCH +luajit \
     +luasec \
     +luasocket \
     +libstdcpp \
index a2ce0a0feab31c2536f4c55877cc683ac23c10fb..66a0c8713d1d71c1a0d65ffd6facaf42fd422bc1 100644 (file)
@@ -210,7 +210,7 @@ endef
 
 define Package/nginx-mod-lua-resty-lrucache
   $(call Package/nginx/default)
-  DEPENDS:=+luajit2
+  DEPENDS:=@HAS_LUAJIT_ARCH +luajit2
   TITLE:=Nginx Lua OpenResty lrucache module
 endef
 
index f5e246df492bb3e2f768113d4da6c4c3228681c5..6afffec5c85b6df26234f15361cece016a8bbb99 100644 (file)
@@ -31,7 +31,7 @@ define Package/snort
   SUBMENU:=Firewall
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+libdaq +libdnet +libnghttp2 +libopenssl +libpcap +libpcre +libpthread +libtirpc +libuuid +zlib +luajit +SNORT_LZMA:liblzma
+  DEPENDS:=+libdaq +libdnet +libnghttp2 +libopenssl +libpcap +libpcre +libpthread +libtirpc +libuuid +zlib @HAS_LUAJIT_ARCH +luajit +SNORT_LZMA:liblzma
   TITLE:=Lightweight Network Intrusion Detection System
   URL:=http://www.snort.org/
   CONFLICTS:=snort3
index 691d08be81fef70df50109e7ba70dba25cef54b4..ea4f115fff7f4ecd56847fa330b01189edec2d6d 100644 (file)
@@ -25,7 +25,7 @@ define Package/snort3
   SUBMENU:=Firewall
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+libstdcpp +libdaq3 +libdnet +libopenssl +libpcap +libpcre +libpthread +libuuid +zlib +libhwloc +libtirpc +luajit +libatomic
+  DEPENDS:=+libstdcpp +libdaq3 +libdnet +libopenssl +libpcap +libpcre +libpthread +libuuid +zlib +libhwloc +libtirpc @HAS_LUAJIT_ARCH +luajit +libatomic
   TITLE:=Lightweight Network Intrusion Detection System
   URL:=http://www.snort.org/
   MENU:=1