Subject: Re: Determining the "maximum length of command line argument"
To: James K. Lowden <jklowden@schemamania.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 01/25/2004 00:23:49
On Sat, Jan 24, 2004 at 06:13:54PM -0500, James K. Lowden wrote:
> 
> Whether or not a package uses config.cache depends on the package, on how
> the configure script is invoked.  
> 
> It seems to me it would make more sense for pkgsrc to write a reasonable
> /usr/pkg/etc/config.site when pkgsrc/pkgtools/pkg_install is installed,
> unless it already exists.  

pkgsrc could also know the maximun line length beforehand (put it in
all defs.*.mk files) and then set the right environment variable to this
value before executing a GNU configure script.

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