(CCing Joey as he may have additional comments or ideas)

On Tuesday 28 March 2006 16:39, you wrote:
> Is there a way to do this that would allow e2fsprogs to be built
> (back-ported) on Sarge (which only has debhelper 4 and wouldn't have
> the dpkg build enhancements)?

Not using the --add-udeb option as the Sarge version of debhelper will 
error out that.

One option would be to program a check for the available version of 
debhelper into the Makefile, but that cure sounds worse than the disease.

Another option is to (temporarily) not make use of dh_makeshlibs, but to 
hardcode the shlibs lines (normal and udeb:) in debian/*.shlibs files. In 
that case you could leave the compat level and debhelper dependency 
unchanged until you're ready to drop the Sarge compatibility.

Having the udeb: line in a shlibs control file for a Sarge package is 
possible. Old versions of dpkg-dev will give a message when they 
encounter an udeb: line they cannot parse [1], but that will not result 
in errors in the dependencies of the package being built.

Cheers,
FJP

[1] http://lists.debian.org/debian-dpkg/2005/06/msg00205.html

Attachment: pgpCMFf2emTfX.pgp
Description: PGP signature

Reply via email to