diff --git a/debian/control b/debian/control index a5e22466cb..f0ad02d15c 100644 --- a/debian/control +++ b/debian/control @@ -29,8 +29,8 @@ Build-Depends: bison, python3-dev, python3-pytest , python3-sphinx, - liblua5.3-dev, - texinfo (>= 4.7) + texinfo (>= 4.7), + liblua5.3-dev Standards-Version: 4.5.0.3 Homepage: https://www.frrouting.org/ Vcs-Browser: https://github.com/FRRouting/frr/tree/debian/master diff --git a/debian/rules b/debian/rules index 6cc03c378a..2fd5bc75ef 100755 --- a/debian/rules +++ b/debian/rules @@ -29,6 +29,12 @@ else CONF_SYSTEMD=--enable-systemd=no endif +ifeq ($(filter pkg.frr.nolua,$(DEB_BUILD_PROFILES)),) + CONF_LUA=--enable-scripting +else + CONF_LUA=--disable-scripting +endif + export PYTHON=python3 %: @@ -49,6 +55,7 @@ override_dh_auto_configure: \ $(CONF_SYSTEMD) \ $(CONF_RPKI) \ + $(CONF_LUA) \ --with-libpam \ --enable-doc \ --enable-doc-html \