Changing lua build-profile to match its original intendet purpose of enabling scripting support by default but allowing to exclude it if needed.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
6a8c646813
commit
7eca9cb333
2 changed files with 5 additions and 5 deletions
4
debian/control
vendored
4
debian/control
vendored
|
@ -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,
|
||||
|
|
6
debian/rules
vendored
6
debian/rules
vendored
|
@ -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)),)
|
||||
|
|
Loading…
Add table
Reference in a new issue