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

Re: Build-Depend'ing on libasound2-dev just for Linux



Le vendredi 16 septembre 2005 à 00:33 +0200, Aurelien Jarno a écrit :
> > Of course, using type-handling for generating a control file in the
> > clean target is a crazy idea. The sane way to use it is:
> > Build-Depends: libasound2-dev | not+linux

Sorry, I meant not+linux-gnu.

> It is maybe a crazy idea, but it is the only one that work. What you 
> suggest simply doesn't work, as not+linux is a provided package, and the 
> autobuilders are not able to see it. In short a package with such a 
> build-dependency will FTBFS on non linux architectures, if built by an 
> autobuilder.

In this case, it is enough to do something like:
Build-Depends: type-handling, libasound2-dev | not+linux-gnu
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
   `-  Debian GNU/Linux -- The power of freedom



Reply to: