From owner-freebsd-ports@FreeBSD.ORG Sat Feb 7 03:45:11 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC4DC16A4D5 for ; Sat, 7 Feb 2004 03:45:11 -0800 (PST) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE18443D1D for ; Sat, 7 Feb 2004 03:45:11 -0800 (PST) (envelope-from gerald@pfeifer.com) Received: from [128.131.111.60] (acrux [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id AC1251378D; Sat, 7 Feb 2004 12:45:09 +0100 (CET) Date: Sat, 7 Feb 2004 12:45:12 +0100 (CET) From: Gerald Pfeifer To: Oliver Eikemeier In-Reply-To: <4022D750.1040803@fillmore-labs.com> Message-ID: References: <4022D750.1040803@fillmore-labs.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: ports@freebsd.org Subject: Re: make versus _MANPAGE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2004 11:45:12 -0000 On Fri, 6 Feb 2004, Oliver Eikemeier wrote: >> I am currently fighting a very nasty problem where a construct involving >> .for in a Makefile works as expected, depending on whether I use it before >> .include or after. > [...] > .for evaluates its arguments immediately, not delayed. _MANPAGES is > defined in bsd.port.pre.mk, so it is only defined *afterwards*. Works > as advertised. Thanks for the explanation! So this _never_ could have worked, and we were just lucky in that none of our users noticed/reported the problem before? (Where could I have found the semantics of .for documented? The make man page was not very helpful.) Gerald -- Gerald Pfeifer (Jerry) gerald@pfeifer.com http://www.pfeifer.com/gerald/