Hi Matthijs,

On Sat, Nov 17, 2018 at 09:28:54PM +0100, Matthijs Kooijman wrote:
> Thanks for testing and provide a patch. I've included in the build, and
> verified it works. I did run into a problem running on a system where
> buildtools.mk did not exist, due to the % wildcard rule (see
> https://lists.debian.org/debian-mentors/2011/10/msg00308.html and
> https://salsa.debian.org/openttd-team/openttd/commit/2a60f8c976c12f3338655ba4c5130213987dde9a
>  )

Dang. I didn't think of how make would handle absence. So buildtools.mk
will always exist in buster and later releases. You only get problems
when backporting to stretch or older (and we don't care about cross
compilation there). The -include was meant to make it backport-friendly,
but it ultimately failed doing exactly that.

How about adding an empty rule for /usr/share/dpkg/buildtools.mk? Would
that work for you?

Helmut

Reply via email to