Subject: Re: linux compat on linux
To: David Brownlee <abs@formula1.com>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 05/17/2001 16:23:07
On Thu, May 17, 2001 at 04:10:34PM +0100, David Brownlee wrote:
> I'd like to clean up the DEPENDS for linux binaries when pkgsrc
> is used under linux itself.
>
> eg: we currently have packages with entirs for the form:
>
> DEPENDS= suse_x11-*:../../emulators/suse_x11
>
> 1) Set these as something like LINUX_DEPENDS then on
> non linux systems append LINUX_DEPENDS to DEPENDS
>
> 2) Have emulators/suse_x11 and friends install dummy entries
> on linux systems (ick).
>
> 3) Surround them with .if ${OPSYS} != "Linux" / .endif
This is probably the best bet.
> 4) ???
> --
> David/absolute abs@formula1.com
>
Regards,
Alistair