On Thu, 24 Feb 2011, Colin Percival wrote:

On 02/24/11 14:35, Bruce Evans wrote:
Except that there is the opportunity to set %POSIX using make -D.  This
might be enough in practice.  The namespace pollution avoidance is
too perfect -- there seems to be no way to set %POSIX or .POSIX in the
environment.

Is this relevant?  POSIX says that the Right Way to demand POSIX mode is
to put .POSIX on the first non-comment line of the Makefile; our %POSIX
variable is a red herring as far as POSIX is concerned.

It allows A Way.

Of course you should fix make(1) to support the POSIX way if this is
not too hard.  If make can see .POSIX before including sys.mk, then
it could alternatively include a POSIX-sys.mk instead.  This would be
cleaner than the ifdefs in sys.mk, and would inhibit breakage of the
POSIX case by putting things like CTF in its rules.

Bruce
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to