Subject: Slight change to CFLAGS, CPPFLAGS, etc.
To: None <tech-pkg@netbsd.org>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 02/13/2005 15:10:50
A historic misuse of these compiler flags in bsd.pkg.mk was fixed recently.
It was unfortunately the cause of glib2 breaking -- sorry about that, but it
is necessary to fix.

Going forward, it is no longer necessary to create multiple layers of \
characters in these variables, as they are now correctly expanded using the
bmake ${...:Q} construct.  So something like

CPPFLAGS+=	-Dfoo=\\\"bar\\\"

should now be

CPPFLAGS+=	-Dfoo=\"bar\"

which correctly reflects what the shell needs at compile time.

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com>