Subject: Re: Solaris specific package patches
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 09/23/2003 10:20:24
On Tue, 23 Sep 2003, Gavan Fantom wrote:

> > > > +LDFLAGS+=      -lsocket -lnsl -lresolv

> You will either have to add this for all packages, or for each and every
> package. I don't think there's an easy middle ground.

This should not be needed for every package.

A lot of software (pre-build configure scripts and Makefiles) are
written correctly to be portable for SunOS in the first place.

> Of course, each and every package could be a case of setting a variable
> NEED_SOLARIS_LIBS, but I'm not sure if that's a good idea.

I think we should just have a NEED_SOLARIS_LIBS (or
NEED_SOLARIS_NETWORKING_LIBS) variable and set it as necessary.

Also, we should email every orginal developer of all this software to
suggest, ask or provide patches. Let them know that their software builds
and works and is useful under Solaris and ask if they will support it in
their next release.

   Jeremy C. Reed
   http://bsd.reedmedia.net/