From db07664f2a75a1c8f1e42aab763db6f56782efb8 Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Fri, 26 Jan 2024 22:58:58 +0000 Subject: [PATCH] Hardcode Lua library version in debian/rules, rather than the Makefile. --- debian/changelog | 2 ++ debian/rules | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 863d15b..471cfc4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ dnsmasq (2.90~test3-1) experimental; urgency=medium [ Simon Kelley ] * New upstream. (closes: #1033165) + * Move hard-coding of Lua version from the upstream Makefile + to d/rules. [ Sven Geuer ] * Introduce autokpgtests per d/tests/* (closes: #1034135). * Switch to dpkg-source 3.0 (quilt) format (closes: #1007041). diff --git a/debian/rules b/debian/rules index 8865317..717a5ea 100755 --- a/debian/rules +++ b/debian/rules @@ -87,7 +87,7 @@ override_dh_auto_install: BUILDDIR=debian/auto-build/dnsmasq-base-lua \ DESTDIR=$(CURDIR)/debian/dnsmasq-base-lua \ PREFIX=$(PREFIX) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ - COPTS="$(COPTS) -DHAVE_LUASCRIPT" + LUA=lua5.4 COPTS="$(COPTS) -DHAVE_LUASCRIPT" dh_auto_build -p dnsmasq-utils -D contrib/lease-tools override_dh_auto_clean: