From owner-freebsd-current@FreeBSD.ORG Sat Jan 14 20:31:08 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79DFB16A41F; Sat, 14 Jan 2006 20:31:08 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2BAC43D48; Sat, 14 Jan 2006 20:31:07 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k0EKV61p037524; Sat, 14 Jan 2006 22:31:06 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ip.net.ua [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 21357-02; Sat, 14 Jan 2006 22:30:56 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k0EKS5un037451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Jan 2006 22:28:05 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id k0EKS9L3020618; Sat, 14 Jan 2006 22:28:09 +0200 (EET) (envelope-from ru) Date: Sat, 14 Jan 2006 22:28:08 +0200 From: Ruslan Ermilov To: Max Laier Message-ID: <20060114202808.GC4687@ip.net.ua> References: <200601140758.02019.max@love2party.net> <20060114195054.GB4687@ip.net.ua> <200601142113.49362.max@love2party.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oJ71EGRlYNjSvfq7" Content-Disposition: inline In-Reply-To: <200601142113.49362.max@love2party.net> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-current@freebsd.org, harti@freebsd.org Subject: Re: make or kmod.mk broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2006 20:31:08 -0000 --oJ71EGRlYNjSvfq7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 14, 2006 at 09:13:42PM +0100, Max Laier wrote: > > This OTOH works since FOO variable is special (it's evaluated at parse > > time): > > > > STUFF=3D foo bar foobar > > > > mtest: > > .for FOO in foo > > @echo ${STUFF:M${FOO}} > > .endfor >=20 > Okay, I knew there was a catch. So this can be worked around, thanks for= the=20 > hint. >=20 More precisely, .for loops are unrolled before parsing. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --oJ71EGRlYNjSvfq7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDyV7YqRfpzJluFF4RAvS/AJ9fzI9frF4TEyOSizOm2b+ma8zqxwCeJIjI iLoV0KxkqLg5QB+S6StwNyo= =hcIt -----END PGP SIGNATURE----- --oJ71EGRlYNjSvfq7--