Subject: CVS commit: pkgsrc/mk/buildlink2
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 12/22/2002 21:02:46
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sun Dec 22 19:02:45 UTC 2002

Modified Files:
	pkgsrc/mk/buildlink2: bsd.buildlink2.mk fake-la gen-transform.sh
	    ld-logic libtool-fix-la libtool.sh post-cache pre-cache wrapper.sh
Added Files:
	pkgsrc/mk/buildlink2: NOTES

Log Message:
The buildlink2 problems on non-NetBSD platform seem to be related to
correct manipulation of variables containing values with escaped
metacharacters by the shell.  The new code only does partial caching, which
doesn't cache "special" arguments that contain escaped metacharacters or
other oddly quoted values.  On certain platforms listed in _BLNK_CACHE_ALL
in bsd.buildlink2.mk, we do full caching, which has enormous speed benefits
since it avoids an extra sed invocation per "special" argument.

Known working platforms:

	MacOS X 10.1.5 (schmonz)
	MacOS X 10.2 (grant)
	NetBSD 1.6 [full caching] (jlam)
	OpenBSD (cjep)
	Solaris 8 (grant)
	Solaris 9 (salo)


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 pkgsrc/mk/buildlink2/NOTES
cvs rdiff -r1.62 -r1.63 pkgsrc/mk/buildlink2/bsd.buildlink2.mk
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/buildlink2/fake-la
cvs rdiff -r1.5 -r1.6 pkgsrc/mk/buildlink2/gen-transform.sh \
    pkgsrc/mk/buildlink2/pre-cache
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/buildlink2/ld-logic
cvs rdiff -r1.12 -r1.13 pkgsrc/mk/buildlink2/libtool-fix-la
cvs rdiff -r1.6 -r1.7 pkgsrc/mk/buildlink2/libtool.sh
cvs rdiff -r1.7 -r1.8 pkgsrc/mk/buildlink2/post-cache
cvs rdiff -r1.4 -r1.5 pkgsrc/mk/buildlink2/wrapper.sh

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