Subject: Re: Solaris specific package patches
To: Gavan Fantom <gavan@coolfactor.org>
From: None <jmmv@menta.net>
List: tech-pkg
Date: 09/23/2003 17:14:37
On Mon, Sep 22, 2003 at 08:42:19PM +0100, Gavan Fantom wrote:
> On Mon, 22 Sep 2003, Christos Zoulas wrote:
> 
> > I keep seeing the following patch appear on many packages. I think that
> > we could follow a more generic approach, rather than patching each package
> > individually? Is there a way to do this?
> >
> > christos
> >
> > +.if ${OPSYS} == "SunOS"
> > +LDFLAGS+=      -lsocket -lnsl -lresolv
> > +.endif
> 
> Maybe add LDFLAGS to defs.SunOS.mk?

So everything gets linked against these libraries?  Won't they introduce
"overhead" for packages not really needing them?  Or this is acceptable?

Thanks.

-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/