From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 21:17:59 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 689753F3 for ; Fri, 26 Oct 2012 21:17:59 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from mo6-p00-ob.rzone.de (mo6-p00-ob.rzone.de [IPv6:2a01:238:20a:202:5300::1]) by mx1.freebsd.org (Postfix) with ESMTP id B01218FC14 for ; Fri, 26 Oct 2012 21:17:58 +0000 (UTC) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/auYssSp3lXGlYOgHGss= X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de (ip-2-207-252-182.web.vodafone.de [2.207.252.182]) by smtp.strato.de (joses mo32) (RZmta 30.20 DYNA|AUTH) with (AES128-SHA encrypted) ESMTPA id V02064o9QKNE1F for ; Fri, 26 Oct 2012 23:17:54 +0200 (CEST) Received: by britannica.bec.de (sSMTP sendmail emulation); Fri, 26 Oct 2012 23:17:50 +0200 Date: Fri, 26 Oct 2012 23:17:50 +0200 From: Joerg Sonnenberger To: freebsd-hackers@freebsd.org Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121026211750.GA19924@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 21:17:59 -0000 On Fri, Oct 26, 2012 at 09:00:26PM +0100, Chris Rees wrote: > :U -- with bmake has non-optional arguments, so for example: > > ${VAR:U} - pmake behaviour > > ${VAR:Uval} - make behaviour. > > Would that be acceptable? I can get a patch in if that's popular. ${VAR:U} is useful for bmake as well. For example, .if conditionals can avoid explicit checks for defined and/or quoting that way. Joerg