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

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



Hallo Lawrence,

* Lawrence Williams <lawrencewilliams@nl.rogers.com> [2005-09-15 17:46]:
> I am working on a package that Build-Depends on libasound2-dev, but can be 
> built on non-Linux OSs. Is there any way to shape the Build-Dep so that 
> libasound2-dev is only used if we are building for a Linux system?
> 
> I seen an example of a possible choice in xorg-x11 packages that Build-Dep on 
> linux-kernel-headers, but I wasn't sure if I should follow their example:
> 
> linux-kernel-headers (>= 2.6.13+0rc3-1.1) 
> [!hurd-i386 !netbsd-i386 !kfreebsd-i386]
> 
> In Debian, does this prevent it from building on anything other than Linux??

It does prevent the build on the specified archs, yes.
Regards Nico
-- 
Nico Golde - JAB: nion@jabber.ccc.de | GPG: 0x73647CFF
http://www.ngolde.de | http://www.muttng.org | http://grml.org

Attachment: pgprRCSqBjLSA.pgp
Description: PGP signature


Reply to: