From owner-freebsd-current@FreeBSD.ORG Sat Jun 21 23:02:12 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 7BCBF106566C for ; Sat, 21 Jun 2008 23:02:12 +0000 (UTC) (envelope-from rermilov@team.vega.ru) Received: from mail.vega.ru (infra.dev.vega.ru [90.156.167.14]) by mx1.freebsd.org (Postfix) with ESMTP id 379998FC12 for ; Sat, 21 Jun 2008 23:02:12 +0000 (UTC) (envelope-from rermilov@team.vega.ru) Received: from [87.242.97.68] (port=58125 helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1KAC5h-000Dc8-J4; Sat, 21 Jun 2008 23:01:53 +0000 Received: from edoofus.dev.vega.ru (localhost [127.0.0.1]) by edoofus.dev.vega.ru (8.14.2/8.14.2) with ESMTP id m5LN1dZ7021415; Sun, 22 Jun 2008 03:01:39 +0400 (MSD) (envelope-from rermilov@team.vega.ru) Received: (from ru@localhost) by edoofus.dev.vega.ru (8.14.2/8.14.2/Submit) id m5LN1cbB021414; Sun, 22 Jun 2008 03:01:38 +0400 (MSD) (envelope-from rermilov@team.vega.ru) X-Authentication-Warning: edoofus.dev.vega.ru: ru set sender to rermilov@team.vega.ru using -f Date: Sun, 22 Jun 2008 03:01:38 +0400 From: Ruslan Ermilov To: Andrey Chernov , Ed Schouten , current@freebsd.org Message-ID: <20080621230138.GB21194@team.vega.ru> References: <20080619131345.GA27913@nagual.pp.ru> <20080619131852.GK93496@hoeg.nl> <20080619132906.GA28251@nagual.pp.ru> <20080619172506.GN93496@hoeg.nl> <20080619174253.GA2963@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080619174253.GA2963@nagual.pp.ru> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: 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: Sat, 21 Jun 2008 23:02:12 -0000 On Thu, Jun 19, 2008 at 09:42:53PM +0400, Andrey Chernov wrote: > On Thu, Jun 19, 2008 at 07:25:06PM +0200, Ed Schouten wrote: > > Hello Andrey, > > > > * Andrey Chernov wrote: > > > Just expand this to "@true" when not needed. > > > > 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 > 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 > intermediate pseudo-suffix) and specify .if defined() there only once. > To make it more obvious, one can s/true/:/ Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer