Subject: Re: CVS commit: pkgsrc/textproc/nbsed/files
To: Jan Schaumann <jschauma@netbsd.org>
From: Johnny C. Lam <jlam@NetBSD.org>
List: pkgsrc-changes
Date: 09/12/2004 02:57:29
On Sat, Sep 11, 2004 at 05:54:05PM +0000, Jan Schaumann wrote:
> 
> Module Name:	pkgsrc
> Committed By:	jschauma
> Date:		Sat Sep 11 17:54:05 UTC 2004
> 
> Modified Files:
> 	pkgsrc/textproc/nbsed/files: config.h.in configure
> 
> Log Message:
> Remove check for getprogname, setprogname and fgetln, consistent with
> jlam's last change, since we use libnbcompat.  (If we left these checks in,
> configure would test for them, find them and set HAVE_GETPROGNAME, subsequently
> breaking 'getprogname', as nbcompat.h wouldn't work since HAVE_GETPROGNAME
> is then defined.)

I wonder why this change was necessary at all.  Within pkgsrc and for
the bootstrap process, nbsed is configured with -lnbcompat passed to
the compiler/linker, so those function checks for fgetln() and
{get,set}progname() should show that they exist (because they exist
in libnbcompat.a).  Was this not working on your machine?

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>