Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Feb 2004 00:52:48 +0100
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        Gerald Pfeifer <gerald@pfeifer.com>
Cc:        ports@freebsd.org
Subject:   Re: make versus _MANPAGE
Message-ID:  <4022D750.1040803@fillmore-labs.com>
In-Reply-To: <Pine.BSF.4.58.0402052304380.74479@acrux.dbai.tuwien.ac.at>
References:  <Pine.BSF.4.58.0402052304380.74479@acrux.dbai.tuwien.ac.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Gerald Pfeifer 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 <bsd.port.post.mk> 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.

**Be aware that nobody guarantees you that _MANPAGES is available after bsd.port.pre.mk**
Changes in bsd.port.mk may break your code without further notice.

-Oliver



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