From owner-freebsd-current@FreeBSD.ORG Thu Jun 19 17:43:15 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08CDA106566B for ; Thu, 19 Jun 2008 17:43:15 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 68D8B8FC0A for ; Thu, 19 Jun 2008 17:43:14 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.2/8.14.2) with ESMTP id m5JHgvN1003191; Thu, 19 Jun 2008 21:42:57 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1213897377; bh=PQYk0uybCwYakTmlGy2soYTUjwVi0Vqf9vAG6yI jEVo=; l=1155; h=Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=TsbTD/6iNhgZvwH0Ld17h6ooK Lz0c1gLENPacIzck/Je6geI4M0V6K/rDtcLyBZyix8FuRo2M7yoHza9Po9/ONKaFEb6 GMFITaz5cU8zzrAWolgxqCn+hxbnc7hqZpYn9rWsjuhrd0HnL7jO3tVl7BlvRkjDzlF rAeBfm+hDZGQ= Received: (from ache@localhost) by nagual.pp.ru (8.14.2/8.14.2/Submit) id m5JHgtVT003190; Thu, 19 Jun 2008 21:42:56 +0400 (MSD) (envelope-from ache) Date: Thu, 19 Jun 2008 21:42:53 +0400 From: Andrey Chernov To: Ed Schouten Message-ID: <20080619174253.GA2963@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Ed Schouten , current@freebsd.org References: <20080619131345.GA27913@nagual.pp.ru> <20080619131852.GK93496@hoeg.nl> <20080619132906.GA28251@nagual.pp.ru> <20080619172506.GN93496@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <20080619172506.GN93496@hoeg.nl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: current@freebsd.org Subject: Re: ${NORMAL_CTFCONVERT} expands to empty string ??? 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: Thu, 19 Jun 2008 17:43:15 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 19, 2008 at 07:25:06PM +0200, Ed Schouten wrote: > Hello Andrey, >=20 > * Andrey Chernov wrote: > > Just expand this to "@true" when not needed. >=20 > But this wouldn't be any better, right? We'd still spawn a utility each > time we compile a unit. 'true' is internal shell function, so only shell is called. If full path=20 will be specified as /usr/bin/true, make calls it directly without shell. /usr/bin/true is much smaller but still one process will be created. Another variant is to create suffix rule for all such cases (using some=20 intermediate pseudo-suffix) and specify .if defined() there only once. --=20 http://ache.pp.ru/ --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhampwACgkQVg5YK5ZEdN2jdwCfXLHuH0Z0xuJr9qn81hNoFqSi rpAAn0bQyPmw6I8v5+HR7aNWDoEY48od =Q4El -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--