Subject: CVS commit: pkgsrc/mk/buildlink3
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 10/09/2003 12:15:15
Module Name:	pkgsrc
Committed By:	jlam
Date:		Thu Oct  9 12:15:15 UTC 2003

Modified Files:
	pkgsrc/mk/buildlink3: bsd.buildlink3.mk libtool.sh wrapper.sh
Added Files:
	pkgsrc/mk/buildlink3: buffer

Log Message:
Change the way in which arguments are processed by the wrappers.  We
know read the arguments by first placing them in a buffer and taking
the argument in the first non-empty buffer as the argument to process.
The buffer is there to allow "splitting" an argument into multiple
arguments (currently up to five arguments), e.g. "-Wl,-R/path1:/path2"
is split into "-Wl,-R/path1" and "-Wl,-R/path2".  Each split argument
is placed into a buffer.  Using a buffer lets us read and process all
of the arguments in a single pass despite "pushing" more arguments
onto the front of the argument array.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 pkgsrc/mk/buildlink3/bsd.buildlink3.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/buildlink3/buffer
cvs rdiff -r1.5 -r1.6 pkgsrc/mk/buildlink3/libtool.sh
cvs rdiff -r1.4 -r1.5 pkgsrc/mk/buildlink3/wrapper.sh

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