From bcccb2248dfe4bee9d0eae2e36c9af2c902fd262 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Tue, 8 Dec 2020 11:28:01 -0500 Subject: [PATCH] debian: clean up packaging stuff for scripting Signed-off-by: Quentin Young --- debian/control | 4 ++-- debian/rules | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) 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 \