Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 02/14/2004 02:28:19
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sat Feb 14 02:28:19 UTC 2004

Modified Files:
	pkgsrc/mk: bsd.pkg.mk

Log Message:
GNU configure scripts generated by newer autoconf sometimes try to
save the value of LDFLAGS, CPPFLAGS, etc. in the config.cache file.
However, they don't store the value correctly if it contains leading
spaces.  This leads to sub-configure scripts that examine to cache to
error out saying that the build environment changed.  Use a make
variable trick to strip off all of the leading spaces on these variables
when passing them via CONFIGURE_ENV.


To generate a diff of this commit:
cvs rdiff -r1.1397 -r1.1398 pkgsrc/mk/bsd.pkg.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.