From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 20:51:37 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 5291EB56; Fri, 26 Oct 2012 20:51:37 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og117.obsmtp.com (exprod7og117.obsmtp.com [64.18.2.6]) by mx1.freebsd.org (Postfix) with ESMTP id A9C2B8FC0C; Fri, 26 Oct 2012 20:51:33 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob117.postini.com ([64.18.6.12]) with SMTP ID DSNKUIr31BFoMan+dQpLQLfVc0lbJC7nVY+T@postini.com; Fri, 26 Oct 2012 13:51:36 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Fri, 26 Oct 2012 13:49:11 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9QKnBh31495; Fri, 26 Oct 2012 13:49:11 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id E1FFA58094; Fri, 26 Oct 2012 13:49:10 -0700 (PDT) To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <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> Comments: In-reply-to: Chris Rees message dated "Fri, 26 Oct 2012 21:00:26 +0100." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Fri, 26 Oct 2012 13:49:10 -0700 Message-ID: <20121026204910.E1FFA58094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Fri, 26 Oct 2012 21:04:50 +0000 Cc: Baptiste Daroussin , Garrett Cooper , freebsd-hackers@freebsd.org, Marcel Moolenaar , Chris Rees , freebsd-arch@freebsd.org 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 20:51:37 -0000 On Fri, 26 Oct 2012 21:00:26 +0100, Chris Rees writes: >:L -- seems that bmake's use for this is kinda pointless; returning the >name of the variable; we could swap that usage over directly. Acutally it is very useful. The debugging facilities in dirdeps.mk rely on it. The junos build uses it in many other places too. >: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. No, please don't do that. I'm trying to reduce the divergence b/w freebsd and netbsd.