From owner-svn-ports-all@FreeBSD.ORG Mon Mar 23 05:37:19 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3C3DD86 for ; Mon, 23 Mar 2015 05:37:19 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 83231ECD for ; Mon, 23 Mar 2015 05:37:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id t2N5bJDK060396 for ; Mon, 23 Mar 2015 05:37:19 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id t2N5bJZl060394 for svn-ports-all@freebsd.org; Mon, 23 Mar 2015 05:37:19 GMT (envelope-from bdrewery) Received: (qmail 52293 invoked from network); 23 Mar 2015 00:37:17 -0500 Received: from unknown (HELO ?10.10.1.139?) (freebsd@shatow.net@10.10.1.139) by sweb.xzibition.com with ESMTPA; 23 Mar 2015 00:37:17 -0500 Message-ID: <550FA68D.4080609@FreeBSD.org> Date: Mon, 23 Mar 2015 00:37:17 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r381980 - head References: <201503230408.t2N48SZH015518@svn.freebsd.org> <550F9BCB.5080004@FreeBSD.org> In-Reply-To: <550F9BCB.5080004@FreeBSD.org> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NwGS5Ok5R1TRhaD9u3dDTFA6tA8xA3EPR" X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 05:37:19 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NwGS5Ok5R1TRhaD9u3dDTFA6tA8xA3EPR Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 3/22/2015 11:51 PM, Bryan Drewery wrote: > On 3/22/2015 11:08 PM, Bryan Drewery wrote: >> Author: bdrewery >> Date: Mon Mar 23 04:08:27 2015 >> New Revision: 381980 >> URL: https://svnweb.freebsd.org/changeset/ports/381980 >> QAT: https://qat.redports.org/buildarchive/r381980/ >> >> Log: >> Undocument BSDMAKE from r381977 as I have thought of a better way an= d will >> likely revert it. >> =20 >> With hat: portmgr >> >> Modified: >> head/CHANGES >> >> Modified: head/CHANGES >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >> --- head/CHANGES Mon Mar 23 04:07:08 2015 (r381979) >> +++ head/CHANGES Mon Mar 23 04:08:27 2015 (r381980) >> @@ -10,13 +10,6 @@ in the release notes and/or placed into=20 >> =20 >> All ports committers are allowed to commit to this file. >> =20 >> -20150322: >> - AUTHOR: bdrewery@FreeBSD.org >> - >> - There is now a BSDMAKE that can be overriden for the location of >> - /usr/bin/make. It is a safer alternative to overriding MAKE_CMD whi= ch >> - will be force reset for gmake/fmake/scons ports. >> - >> 20150319: >> AUTHOR: bdrewery@FreeBSD.org >> =20 >> >=20 > I feel the need to define BSDMAKE still but don't like that it is not > just MAKE_CMD since that is what has been advertised for so long. >=20 > MAKE_CMD currently has 2 uses. Both the default /usr/bin/make location > and the make that is used to interact with a port's distribution > Makefile. When using USES=3Dgmake for example MAKE_CMD becomes gmake. > There then is no way to define what the default make was (/usr/bin/make= ) > if it is still needed. >=20 > From sometime last year until r381976 a user setting MAKE_CMD would not= > be able to build gmake/scons/fmake ports. >=20 > What I am trying to do is interact with the ports tree with bmake but > build ports with fmake. Bmake does not work with the /usr/share/mk on > 8.4/9.3 but it works fine with the ports tree. Any actual Makefile with= > real object targets it encounters hits a 'dirsyntax' error and fails. S= o > I am trying to ensure that ports are respecting MAKE_CMD and building > with my override of /usr/bin/fmake since I have made /usr/bin/make into= > bmake. This idea may grow into a bootstrapped bmake so 8.4 does not > instantly break on EOL day. I don't know if I will take it that far. >=20 > This is why I have added BSDMAKE and switched to it in the qemu ports i= n > r381978 since they have USES=3Dgmake and get a MAKE_CMD=3Dgmake. MAKE i= s > bmake in my use. I insist that using ${MAKE} to build a port's > distribution files is just fundamentally wrong; it should only be used > to interact recursively with the framework. This port was nice enough t= o > spell out that it needs a real bsd make to build. It may even work with= > gmake at this point but I did not test. >=20 > Incidentally I have been finding a lot interesting bugs with MAKE_CMD > usage. Some ports claim to need gmake but are accidentally using bsdmak= e > in the middle of their build. It has just worked by accident. I imagine= > that fixing these to properly use MAKE_CMD (hence gmake) will improve > parallel builds as well. >=20 > So my alternative idea for BSDMAKE was to mass replace MAKE_CMD with > _MAKE_CMD in ports and then keep MAKE_CMD to mean /usr/bin/make. I'm no= t > sure which route should be taken. >=20 Actually I've hit a few blockers that are showing me this is just not going to work. I'm going a different route with using bmake. I think there are a lot of MAKE->MAKE_CMD cleanup to still do but that it it not as relevant for my use case now. --=20 Regards, Bryan Drewery --NwGS5Ok5R1TRhaD9u3dDTFA6tA8xA3EPR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJVD6aNAAoJEDXXcbtuRpfPVDwIAOBb781rgVdNwdr06qva3JhI zC6TagRl4ixbxgdZ4l/weWPTccQhcjjAal78JZEqwJ+WIoeER3OfdHPMB0pn3y9y /iOA6WHVLoTwSQpzXRNZft7mnmWyChTVEpZ3+sjgwYW0Nuvzlj50VeVtUWrvgjlB KDiL47nnM3slRUzT6XzJsI0syX9WU52dGp7qkFuAfyWjGZAmw6YBYpIF7fse5tKA OgZzIIJVXS5vvb7DO+mlxHUkbyiEpZL+GXN1bYFqhI88o12GM6E1cswsiiDhcamg XV9+bFaiADd23cvVtgwxx/GWjdjKGxi/FUOii0N1J+RLJgH/PXc8zrjH+NXmnms= =ezuo -----END PGP SIGNATURE----- --NwGS5Ok5R1TRhaD9u3dDTFA6tA8xA3EPR--