Hardcode Lua library version in debian/rules, rather than the Makefile.

This commit is contained in:
Simon Kelley
2024-01-26 22:58:58 +00:00
parent 1205fc3541
commit db07664f2a
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View File

@@ -2,6 +2,8 @@ dnsmasq (2.90~test3-1) experimental; urgency=medium
[ Simon Kelley ] [ Simon Kelley ]
* New upstream. (closes: #1033165) * New upstream. (closes: #1033165)
* Move hard-coding of Lua version from the upstream Makefile
to d/rules.
[ Sven Geuer ] [ Sven Geuer ]
* Introduce autokpgtests per d/tests/* (closes: #1034135). * Introduce autokpgtests per d/tests/* (closes: #1034135).
* Switch to dpkg-source 3.0 (quilt) format (closes: #1007041). * Switch to dpkg-source 3.0 (quilt) format (closes: #1007041).

2
debian/rules vendored
View File

@@ -87,7 +87,7 @@ override_dh_auto_install:
BUILDDIR=debian/auto-build/dnsmasq-base-lua \ BUILDDIR=debian/auto-build/dnsmasq-base-lua \
DESTDIR=$(CURDIR)/debian/dnsmasq-base-lua \ DESTDIR=$(CURDIR)/debian/dnsmasq-base-lua \
PREFIX=$(PREFIX) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ 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 dh_auto_build -p dnsmasq-utils -D contrib/lease-tools
override_dh_auto_clean: override_dh_auto_clean: