Subject: Quote change
To: None <tech-pkg@NetBSD.org>
From: None <uebayasi@pultek.co.jp>
List: tech-pkg
Date: 02/15/2005 00:37:20
Hi.
I'm slowly changing Makefile's that seem broken due to wrongly quoted
variables in command-line, after Todd's recent bsd.pkg.mk changes. My
changes (which originally recht@ did for devel/glib2) are simply doing
FOO= \\\"${FOO}\\\"
FOO= \"\\\"${FOO}\\\"\"
to
FOO= "\"${FOO}\""
Both of the fomers are broken when the definitions are passed to as a
part of CFLAGS. In most cases, configure fails as ${CC} ${CFLAGS}
won't run. I'm not very sure about all cases, but the latter
("\"${FOO}\"") looks much saner and less broken to me. Even if this
is not TRT, it would be easier to correct further.
Masao