[Build-common-hackers] Re: cdbs and Build-Depends-Indep

Colin Walters walters@debian.org
16 Jun 2003 20:20:03 -0400


On Sun, 2003-06-15 at 09:29, Jeff Bailey wrote:
> On Sun, 2003-06-15 at 04:27, Colin Walters wrote:
> 
> > BTW, I think this ties in with some of the stuff on TODO about compiling
> > with multiple flags, etc.  I know at least one package wants to pass
> > different ./configure flags for an arch vs. an indep build.
> 
> Which one, BTW.  I've wrestling with the theory of how the multi-pass
> mode should look, and I'm having trouble making sure I cover all cases.

gstreamer does.  I think by splitting the autotools vars into
autotools-vars.mk, people can do stuff like:

include autotools-vars.mk

configure/foo-gnome::
    $(DEB_CONFIGURE_INVOKE) --enable-gnome

configure/foo-nognome::
    $(DEB_CONFIGURE_INVOKE) --disable-gnome

It should work, I just have to try converting a package which does this
to prove the concept.  I think I'll try xchat.
What do you think?  Do you see any problems?