From owner-svn-src-head@freebsd.org Wed Mar 18 16:53:00 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 705C7266444; Wed, 18 Mar 2020 16:53:00 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48jGLh0gqJz3KpM; Wed, 18 Mar 2020 16:52:59 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id E2B123C0199; Wed, 18 Mar 2020 16:52:52 +0000 (UTC) Date: Wed, 18 Mar 2020 16:52:52 +0000 From: Brooks Davis To: Hiroki Sato Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r359046 - head/share/mk Message-ID: <20200318165252.GB5399@spindle.one-eyed-alien.net> References: <202003171817.02HIHWdY035423@repo.freebsd.org> <20200318.122924.1446699160859237014.hrs@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gatW/ieO32f1wygP" Content-Disposition: inline In-Reply-To: <20200318.122924.1446699160859237014.hrs@FreeBSD.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 48jGLh0gqJz3KpM X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-2.84 / 15.00]; NEURAL_SPAM_LONG(0.70)[0.700,0]; REPLY(-4.00)[]; NEURAL_SPAM_MEDIUM(0.46)[0.457,0] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 16:53:00 -0000 --gatW/ieO32f1wygP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 18, 2020 at 12:29:24PM +0900, Hiroki Sato wrote: > Brooks Davis wrote > in <202003171817.02HIHWdY035423@repo.freebsd.org>: >=20 > br> Author: brooks > br> Date: Tue Mar 17 18:17:32 2020 > br> New Revision: 359046 > br> URL: https://svnweb.freebsd.org/changeset/base/359046 > br> > br> Log: > br> Support SUBDIR.${MK_FOO}.${MK_BAR} expresssions. > br> > br> This allows simplification of Makefiles where some SUBDIR entries d= epend > br> on two things (e.g. something that depends on C++ and some other kn= ob). >=20 > Just my two cents, but SUBDIR.${MK_FOO:M${MK_BAR}:M${MK_BAZ}}=3D dir > should do the trick. I am not sure how many variables we need to > support in practice, adding ".yes.yes..." in bsd.subdir.mk looks less > flexible to me. IMO that's lousy from a readability perspective. It's remotely conceivable that supporting three variables might make sense, but more seems vanishingly unlikely and even so, it's trivial to add more cases. -- Brooks --gatW/ieO32f1wygP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeclHkAAoJEKzQXbSebgfAEvAH+waQwS2gxFU3dm8cnEUXxf9e euWjpEqFiDP3T46gevnUKeIGlCJuiEZM2K++OdD0wtTv25BpSBVi/9IZztu1CdXN +N2nGht6xPTRXeK9GsLw5APEZj1m/NTql0ozVWX9GKmui8EcMGEmnY7S4kr4Gz73 9n/TdtS/BgpQHxaF9aoVCvqmRPvntqj6a5PtR4wxd4+JNsRbsLZ9shBGiL66EIts S8R0ZAosYr4EKS0fhKp5xQueup2LhSVXKEw8b48RtjAyZ3eLUZBBUP3sNSoW2UXf 29ipmeoXTcLQ54p5MutOGcEx5ec4af+pivrgslbli0cClMBadeFxKDpCNW6QliM= =aEng -----END PGP SIGNATURE----- --gatW/ieO32f1wygP--