From owner-svn-ports-head@FreeBSD.ORG Mon Mar 23 04:51:25 2015 Return-Path: Delivered-To: svn-ports-head@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 7421767B for ; Mon, 23 Mar 2015 04:51:25 +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 513D1AA0 for ; Mon, 23 Mar 2015 04:51:25 +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 t2N4pPXa044159 for ; Mon, 23 Mar 2015 04:51:25 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id t2N4pPEi044157 for svn-ports-head@freebsd.org; Mon, 23 Mar 2015 04:51:25 GMT (envelope-from bdrewery) Received: (qmail 9434 invoked from network); 22 Mar 2015 23:51:23 -0500 Received: from unknown (HELO ?10.10.1.139?) (freebsd@shatow.net@10.10.1.139) by sweb.xzibition.com with ESMTPA; 22 Mar 2015 23:51:23 -0500 Message-ID: <550F9BCB.5080004@FreeBSD.org> Date: Sun, 22 Mar 2015 23:51:23 -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> In-Reply-To: <201503230408.t2N48SZH015518@svn.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="RkfHEI8DXvg11TOTNpQqdcHr4lC1aw3xB" X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 04:51:25 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RkfHEI8DXvg11TOTNpQqdcHr4lC1aw3xB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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/ >=20 > Log: > Undocument BSDMAKE from r381977 as I have thought of a better way and= will > likely revert it. > =20 > With hat: portmgr >=20 > Modified: > head/CHANGES >=20 > 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 whic= h > - 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. 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. =46rom sometime last year until r381976 a user setting MAKE_CMD would not= be able to build gmake/scons/fmake ports. 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. So 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. This is why I have added BSDMAKE and switched to it in the qemu ports in r381978 since they have USES=3Dgmake and get a MAKE_CMD=3Dgmake. MAKE is 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 to 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. Incidentally I have been finding a lot interesting bugs with MAKE_CMD usage. Some ports claim to need gmake but are accidentally using bsdmake 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. 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 not sure which route should be taken. --=20 Regards, Bryan Drewery --RkfHEI8DXvg11TOTNpQqdcHr4lC1aw3xB 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 iQEcBAEBAgAGBQJVD5vMAAoJEDXXcbtuRpfP2N4IAN0zvRbxr27uWyLGvzUvILLo yBLg8ZED7OMkts0RyhtsRvRUW0i3yp45QMIfRdwBOBiT9m6kBJe4M1eGAtY3jCMp CYeiumBvad7AVCENz7U2bwzczqZxLYeJwSsIDtrMYLpvGefz8qHTGIPUywzsA8SZ OoFAwIw2brKWUPoP6HKEZCMQTJrntWDJMqRvtD3yay5M6GpZLbBTHq3EUAdm9V4T IUq1NaweVeNMDcryck/W8ahiyrCEsVI7aPx4NsG5D7GoxmirWUdP1QMHhQ/UHyo8 FogD08S0NVWhmN0B6no5v79qBjqqduzUrpBgn2fV7HHnYvKETqJcpwQ8Pm7ClZU= =RcrW -----END PGP SIGNATURE----- --RkfHEI8DXvg11TOTNpQqdcHr4lC1aw3xB--