[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: One Source with Different Build Dependancies?



On Thu, Jun 24, 2004 at 09:17:42PM +0200, Santiago Vila wrote:
> On Thu, 24 Jun 2004 ms419@freezone.co.uk wrote:
> > I am packaging source which builds two binary packages; however, each
> > package has different build dependancies. In fact, the packages' build
> > dependancies conflict.
> >
> > I don't think the dpkg tools have the facility to build one binary but
> > not the other. Nor do I think one can specify different build
> > dependancies for two binaries built from the same source.
> >
> > Could someone please refer me to any discussion of these issues, and
> > any solutions?
> 
> I would create two different source packages. Build-dependencies are
> certainly not supposed to be installed or removed by debian/rules in
> the middle of the build.

Yeah. Note that you don't have to chop up the upstream source to do
this; in the name of pristine .orig.tar.gz files, you can just upload
the full upstream tarball but only build part of it.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: