Subject: Re: pkglint -Wall
To: None <tech-pkg@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-pkg
Date: 02/05/2006 14:58:20
On Sun, 05 Feb 2006, Roland Illig wrote:
> I would favor ${CPPFLAGS:Qsed:Q}, which looks much friendlier, but all
> ancient and current make(1) versions do not know the :Qsed modifier
> yet.

It should be easy to implement :Qfoo modifiers in make(1).

> Or maybe define a variable Qsed=C/\\/\\\\/g:C/&/\\\&/ and then write
> ${EVIL:${Qsed}:Q}, but that is also not supported.

There has already been a suggestion to add this, and a patch.  See
http://mail-index.netbsd.org/tech-toolchain/2006/01/20/0001.html

--apb (Alan Barrett)