Subject: Re: obsoleting libgetopt
To: None <email@example.com>
From: Alistair Crooks <firstname.lastname@example.org>
Date: 10/13/2003 00:02:17
On Sun, Oct 12, 2003 at 02:05:28PM -0400, Jan Schaumann wrote:
> Jan Schaumann <email@example.com> wrote:
> > We currently have a package called devel/libgetopt, which (obviously)
> > provides getopt --long functionality for those platforms that do not
> > have getopt.h. The following packages use it:
> > cad/ng-spice
> > converters/autoconvert
> > fonts/oto
> > graphics/ffmpeg
> > sysutils/psmisc
> > www/sitecopy
> > There are some PRs open that deal with libgetopt (22672, 23099), so
> > obviously it's not quite working the way it should where it actually is
> > needed (NetBSD doesn't need libgetopt, neither does Irix; Solaris and
> > Darwin, where it's needed, cause problems).
> > Given that we have libnbcompat, which provides this functionality
> > anyway, I think we should just obsolete libgetopt and replace the
> > dependencies with dependencies on libnbcompat.
> Is this something that we can/should do during the freeze? It would fix
> the above mentioned PRs, and should, in theory at least, not introduce
> any problems.
> The change for each Makefile would be limited to replacing
> .include "../../devel/libgetopt/buildlink2.mk"
> .if !exists(/usr/include/getopt.h)
> . include "../../pkgtools/libnbcompat/buildlink2.mk"
If it's going to improve the situation (and it sounds like it will
do), then please go ahead and make the changes.
Alistair Crooks <firstname.lastname@example.org>