From owner-freebsd-standards Thu Apr 18 8:50: 8 2002 Delivered-To: freebsd-standards@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 002DB37B416 for ; Thu, 18 Apr 2002 08:50:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3IFo3B42847; Thu, 18 Apr 2002 08:50:03 -0700 (PDT) (envelope-from gnats) Date: Thu, 18 Apr 2002 08:50:03 -0700 (PDT) Message-Id: <200204181550.g3IFo3B42847@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org Cc: From: "J. Mallett" Subject: Re: bin/11114: make(1) does not work as documented with .POSIX: target Reply-To: "J. Mallett" Sender: owner-freebsd-standards@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: "J. Mallett" To: "Tim J. Robbins" Cc: Jens Schweikhardt , bug-followup@FreeBSD.ORG, cjclark@alum.mit.edu, jmallett@FreeBSD.ORG Subject: Re: bin/11114: make(1) does not work as documented with .POSIX: target Date: Thu, 18 Apr 2002 15:50:09 +0000 On Thu, Apr 18, 2002 at 03:50:09PM +1000, Tim J. Robbins wrote: > Please try this patch & let me know whether it corrects the problems > with the special .POSIX target. It is against HEAD, to try it on a 4.x > release you will need to edit str.c and remove __DECONST macro usage. > I realise it's not a particularly clean solution, and I'd be interested > to hear how it could be done better. > I think in the current architecture of make(1), that's probably on the right track to doing it, assuming the Startup()/Cleanup() style thing cannot be done or that it won't work. Does any software include a Makefile that does the .POSIX thing? If so, check and see if this works as expected, and check that it can get through a buildworld (at least as much as normal make(1) - heh), and that there's no significant regression, and I'd say you can pretty much go this way, though you might want to add some DEBUG() stuff, as the codepath is a little obscured, to me anyway. I guess that's all I can think to say right now. -- jmallett@FreeBSD.org | C, MIPS, POSIX, UNIX, BSD, IRC Geek. http://www.FreeBSD.org | The Power to Serve "We all need mirrors to remind ourselves who we are -- I'm no different." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message