Re: Proposal, a Build-Depends-Optional field
* Johannes Schauer <josch@debian.org>, 2015-05-25, 13:39:
http://lists.debian.org/20141217084500.GA16582@alf.mars
In your case this would mean that the source package building
libfoo-dev would modify the binary package libfoo-dev to Provides:
optional-libfoo-dev and additionally build a binary package called
no-libfoo-dev on all architectures where libfoo-dev is *not* built
which also Provides: optional-libfoo-dev. Lastly, let your source
package build depend on optional-libfoo-dev.
This solution might have a slight advantage over the one one proposed
by Jakub
It has a big advantage: unlike mine, it actually works. :-P
But Helmut's approach only works if libfoo maintainer knows in advance
the list of architectures where libfoo-dev will be built. It can't be
applied if, say, libfoo build-depends on libbar-dev, and libbar-dev
hasn't been built everywhere.
--
Jakub Wilk
Reply to: