Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2015 10:08:43 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r292718 - head/share/mk
Message-ID:  <201512251008.tBPA8hRW035574@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512251008.tBPA8hRW035574>