Subject: CVS commit: pkgsrc/pkgtools/pkglint/files
To: None <>
From: Roland Illig <>
List: pkgsrc-changes
Date: 11/23/2005 06:05:52
Module Name:	pkgsrc
Committed By:	rillig
Date:		Wed Nov 23 06:05:52 UTC 2005

Modified Files:

Log Message:
When a list is appended to another list, like MAKE_ENV+=
CFLAGS=${CFLAGS}, check for the correct modifiers. The above is
obviously not correct, as CFLAGS may contain white-space.
CFLAGS=${CFLAGS:Q} is also a little wrong in that it may contain leading
and/or trailing white-space, which must be discarded, too, because the
broken GNU configure scripts cannot handle them correctly. This can be
done using ${CFLAGS:M*:Q}, which first splits CFLAGS into a list of
shell words, then selects all of them and finally combines the words
forming a nicely formatted string without leading and trailing
white-space where all entries are separated from each other by a single

To generate a diff of this commit:
cvs rdiff -r1.377 -r1.378 pkgsrc/pkgtools/pkglint/files/

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