Subject: Re: proposed fix for problem when installing in unprivileged mode:
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-pkg
Date: 10/03/2006 11:08:49
On Tue, 3 Oct 2006, Georg Schwarz wrote:
> +.for _VAR in BINGRP BINOWN GAMEGRP GAMEOWN MANGRP MANOWN SHAREGRP      \
> +               SHAREOWN BINMODE NONBINMODE
> +INSTALL_MACROS+=       ${_VAR}=${${_VAR}:Q}
> +.endfor
> MAKE_ENV+=     ${INSTALL_MACROS}
> SCRIPTS_ENV+=  ${INSTALL_MACROS}

The change makes sense to me, but I've never ran into this, and would wait 
for other people's opinion.

The only thing I'd suggest is get rid of the extra variable and do 
something like

 	for _VAR in ...
 	MAKE_ENV+= 	${_VAR}=${${_VAR}:Q}
 	SCRIPTS_ENV+= 	${_VAR}=${${_VAR}:Q}
 	.endfor


  - Hubert