Re: Build-Depend'ing on libasound2-dev just for Linux
David Nusinow wrote:
> On Thu, Sep 15, 2005 at 01:13:14PM -0230, Lawrence Williams wrote:
>> 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??
> This was the goal of the line you mention. Unfortunately, I'm not aware of
> any sort of simple test like "linux-kernel-headers (>=foo) [linux]" in
> dpkg, so I had to explicitly remove non-linux ports from the requirement.
Doesn't the type-handling package do what you guys are looking for?
Looks like it needs to be used somehow in combination with sed and a
debian/control.in file, perhaps in "debian/rules clean"...
Kevin B. McCarty <email@example.com> Physics Department
WWW: http://www.princeton.edu/~kmccarty/ Princeton University
GPG: public key ID 4F83C751 Princeton, NJ 08544