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

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

On Thu, Sep 15, 2005 at 01:05:31PM -0400, Kevin B. McCarty wrote:
> 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"...

Not in debian/rules clean.  Unsupervised editing of debian/control leads to
RC bugs.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply to: