Hallo Lawrence,

* Lawrence Williams <[EMAIL PROTECTED]> [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: [EMAIL PROTECTED] | GPG: 0x73647CFF
http://www.ngolde.de | http://www.muttng.org | http://grml.org

Attachment: pgpzVjYgRVdUX.pgp
Description: PGP signature

Reply via email to