tag 1089270 + patch
thanks

On Sun, Dec 08, 2024 at 11:33:40AM +1000, Alexander Zangerl wrote:
> On Sat, 07 Dec 2024 19:08:52 +0100, Santiago Vila writes:
> >This package fails to build from source with Make 4.4.1,
> 
> noted, but make 4.4 isn't in unstable yet. severity
> important is not justified at this time.

The attached patch fixed the build. Quotes in Makefiles are preserved
as-is, not removed as in the shell; and the various debhelper tools
set the flag variables in the environment, so debian/rules doesn't
need to export them when the build is handled by debhelper.

Regards,

Stephen
diff -u nmh-1.8/debian/rules nmh-1.8-fixed/debian/rules
--- nmh-1.8/debian/rules	2022-02-09 09:31:05.000000000 +0100
+++ nmh-1.8-fixed/debian/rules	2024-12-08 13:22:38.765977776 +0100
@@ -6,10 +6,7 @@
 TARGETDIR=./debian/nmh
 BUILD_DATE := $(shell dpkg-parsechangelog | sed -n -e 's/^Date: //p')
 
-export DEB_CFLAGS_MAINT_APPEND="-Wall"
-export CFLAGS:= -Wall $(shell  dpkg-buildflags --get CFLAGS)
-export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
-export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+export DEB_CFLAGS_MAINT_APPEND = -Wall
 
 INSTALL = install
 INSTALL_FILE    = $(INSTALL) -p    -o root -g root  -m  644
Common subdirectories: nmh-1.8/debian/source and nmh-1.8-fixed/debian/source

Attachment: signature.asc
Description: PGP signature

Reply via email to