svn commit: r292718 - head/share/mk

Colin Percival cperciva at FreeBSD.org
Fri Dec 25 10:08:44 UTC 2015


Author: cperciva
Date: Fri Dec 25 10:08:42 2015
New Revision: 292718
URL: https://svnweb.freebsd.org/changeset/base/292718

Log:
  Document that make's .POSIX: handling is broken.  In fact, it has been
  broken ever since it was added in November 1996.

Modified:
  head/share/mk/sys.mk

Modified: head/share/mk/sys.mk
==============================================================================
--- head/share/mk/sys.mk	Fri Dec 25 08:10:33 2015	(r292717)
+++ head/share/mk/sys.mk	Fri Dec 25 10:08:42 2015	(r292718)
@@ -69,6 +69,10 @@ __ENV_ONLY_OPTIONS:= \
 #
 # The rules below use this macro to distinguish between Posix-compliant
 # and default behaviour.
+#
+# This functionality is currently broken, since make(1) processes sys.mk
+# before reading any other files, and consequently has no opportunity to
+# set the %POSIX macro before we read this point.
 
 .if defined(%POSIX)
 .SUFFIXES:	.o .c .y .l .a .sh .f


More information about the svn-src-head mailing list