El 26/5/25 a las 12:52, Lucas Nussbaum escribió:
Looking at cdbs' changes history between those two releases, this sounds 
relevant:
https://salsa.debian.org/debian/cdbs/-/commit/5efba11b142b73ffbfa61fff09cdacc3d6db52b9
but I don't understand the change itself.

I "sort of" understand the change:

The line saying

ifeq (,$(shell grep -xi 'Package: autotools-dev' debian/control))

means "if the package being built is not autotools-dev".

Naturally, the autotools-dev does not need their own config.sub/config.guess
to be replaced by the master copies in the same autotools-dev package,
so that's why we have an ifeq there.

So, the ifeq was useful when autotools-dev was using cdbs itself.

Because autotools-dev is not using cdbs (I wonder if it ever did), the code may 
be simplified.

However, the right simplification would be to remove the ifeq and
do what it did unconditionally, not removing the entire block.

Same for gnulib. If gnulib used cdbs in the past, it needed the ifeq
to check that the package being built was not gnulib itself.

I see that the package is orphaned. I'm going to act conservatively
and revert the change completely. There will be plenty of time after
trixie for such kind of optimizations.

Thanks.

Reply via email to