diff options
author | rillig <rillig@pkgsrc.org> | 2005-11-23 06:05:52 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-11-23 06:05:52 +0000 |
commit | fe34e666fbef15578194bb28dbacd52e2cf04a7e (patch) | |
tree | b89eeaf152745a7aa6b6440d2d7ea434a481a2a7 /databases/dbh | |
parent | 8b1e7b04059a504be6a85002b9b8f96d45fdf9cc (diff) | |
download | pkgsrc-fe34e666fbef15578194bb28dbacd52e2cf04a7e.tar.gz |
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
space.
Diffstat (limited to 'databases/dbh')
0 files changed, 0 insertions, 0 deletions