found 653530 1:2.0.18-1 thanks The proposed patch works only for dpkg >= 1.16.1 so either needs a tightened build-dependency or (preferrably, to ease backporting) a different more reliable approach.
One alternate approach is to set this above the configure target: dpkg-flags := $(shell LANG=C dpkg-buildflags --export=configure) dpkg-flags := $(if $(filter unknown,$(dpkg-flags)),,$(dpkg-flags)) ...and then use $(dpkg-flags) those two times inside the configure target. Another approach more elegant but possibly needing more work (I did not look closely at how the package uses flags) is to add this somewhere at the top of the rules file: -include /usr/share/dpkg/buildflags.mk Even better than those would be to build-depend on hardening-includes (available in Debian stable) and use that. I hope you wil continue to keep the packaging of dovecot backports-friendly. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: Digital signature