Subject: Re: Handling of OPSYS-specific patches
To: Alistair Crooks <>
From: Jonathan Perkin <>
List: tech-pkg
Date: 02/28/2002 16:12:41
On Thu Feb 28, 2002 at 04:36:04PM +0100, Alistair Crooks wrote:

> On Thu, Feb 28, 2002 at 04:15:34PM +0100, Thomas Klausner wrote:
> > In this case I think it would be easiest if you passed down the LIBS
> > setting from the Makefile via
> > 	MAKE_ENV+=	LIBS="-lsocket -lnsl"
> > (wrapped in the appropriate ifdefs, of course).
> There used to be ${OPSYS} support for patches, keyed on a
> patches-${OPSYS} directory, IIRC. We found that it was almost never
> used, and dispensed with it.
> Thomas gives a very good workaround above

Yep, thanks both.  I'll tidy up a patch (based on Thomas' solution which
seems the cleaner one in this situation) and send-pr.

 Jonathan Perkin - BBC Internet Services - <>