summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/control4
-rwxr-xr-xdebian/rules6
2 files changed, 5 insertions, 5 deletions
diff --git a/debian/control b/debian/control
index 802bcecb..7bfc99dc 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Build-Depends:
libcap-dev,
libelf-dev:native,
libjson-c-dev,
- liblua5.3-dev <pkg.frr.lua>,
+ liblua5.3-dev <!pkg.frr.nolua>,
libpam0g-dev,
libpcre2-dev,
libprotobuf-c-dev,
@@ -28,7 +28,7 @@ Build-Depends:
libssh-dev <!pkg.frr.nortrlib>,
libunwind-dev [!alpha !m68k !sparc64 !x32],
libyang2-dev (>= 2.1.128),
- lua5.3 <pkg.frr.lua>,
+ lua5.3 <!pkg.frr.nolua>,
pkgconf,
protobuf-c-compiler,
python3-dev:native,
diff --git a/debian/rules b/debian/rules
index 4d31d760..b4d51bb7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,10 +21,10 @@ else
CONF_RPKI=--disable-rpki
endif
-ifeq ($(filter pkg.frr.lua,$(DEB_BUILD_PROFILES)),)
- CONF_LUA=--disable-scripting
-else
+ifeq ($(filter pkg.frr.nolua,$(DEB_BUILD_PROFILES)),)
CONF_LUA=--enable-scripting
+else
+ CONF_LUA=--disable-scripting
endif
ifeq ($(filter pkg.frr.pim6d,$(DEB_BUILD_PROFILES)),)