From owner-freebsd-bugs Sat Feb 23 0:10: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F1D1E37B402 for ; Sat, 23 Feb 2002 00:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1N8A2M25747; Sat, 23 Feb 2002 00:10:02 -0800 (PST) (envelope-from gnats) Date: Sat, 23 Feb 2002 00:10:02 -0800 (PST) Message-Id: <200202230810.g1N8A2M25747@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J. Clark" Subject: Re: bin/11114: make(1) does not work as documented with .POSIX: target Reply-To: "Crist J. Clark" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/11114; it has been noted by GNATS. From: "Crist J. Clark" To: Jens Schweikhardt Cc: bug-followup@freebsd.org Subject: Re: bin/11114: make(1) does not work as documented with .POSIX: target Date: Sat, 23 Feb 2002 00:04:44 -0800 On Fri, Feb 22, 2002 at 08:28:50PM +0100, Jens Schweikhardt wrote: > Crist, > > On Wed, Feb 20, 2002 at 08:23:16AM -0800, Crist J. Clark wrote: > # The issue here is that the .POSIX target will not have its effect > # until the makefile containing it is read. /usr/share/mk/sys.mk is the > # first file read. make(1) doesn't know about anything that you have set > # in your makefile yet. > # > # I have no idea if that is a bug or feature. What do the standards say > # (if anything)? > > The POSIX 2001 Standard defines the behavior of make and mandates that > the macros have the following values, when .POSIX: is specified as the > first noncomment line and without prerequisites and commands: Right, but what is the exact wording? All of this does work when the ".POSIX" target is set in sys.mk. In exactly which makefile is the ".POSIX" target supposed to work? If it is in the local one, this is a real problem. Goes against the whole way makefiles are processed. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message