Date: Fri, 6 Oct 2017 15:23:49 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports@FreeBSD.org Subject: Re: [RFC] less patches: control the PATH Message-ID: <20171006132349.24bcqfmepwykerac@ivaldir.net> In-Reply-To: <20171006131146.qswg2barkhelii4n@ivaldir.net> References: <20171006131146.qswg2barkhelii4n@ivaldir.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--dp4urggl6pvcm5xj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 06, 2017 at 01:11:46PM +0000, Baptiste Daroussin wrote: > Hi all, >=20 > Here is a patch to add a new feature I am willing to get for a while: > https://reviews.freebsd.org/D12603 >=20 > What this patch does it basically prepend to PATH a new directory (inside > WRKDIR) >=20 > A user can control which binary will be found in the PATH of the build se= quences > easily by adding > BINARY_RENAME=3D source target >=20 > This will create a sumlink in the WRKDIR/.bin directory: > ${WRKDIR}/.bin/target -> source >=20 > The goal here to avoid patching a port which needs to use for example gsed > instead of our bsd sed > BINARY_RENAMe=3D gsed sed >=20 > of specify gcc will be gcc7, etc >=20 > This should remove lots of custom patches in the ports tree. >=20 > PS: this should break no port building tool :) > PS2: the BINARY_RENAME variable name sucks, any better name is welcome :) renamed BINARY_LINKS which is less worse :) Best regards, Bapt --dp4urggl6pvcm5xj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlnXg+MACgkQY4mL3PG3 PlqhehAAhqTZ8dpRW/euZyRCV61jzM9TIpbUy6VhhasQoRz0HH126bJnXHPPQkdf wH3D5yJPs6UtFuqBPtKH1pVVO+psnzXwKLF+mFDTuWhFiFpJJXsFM5r4/uJeeC4C j17tLIFn2G82Dz9RFJYrjOP8tQQNW52BW06bESx4n6WZdx+SCeiR2yiCdSrotUgz z+lq5HR3NKLlF35aBDyH5e+S7Cb3fiJyCoA9XC9P4xAlPMBtTjCkdxmU54tFqgUL 1fU++i5nZ5iIkO70zCiuOH2CLwF/unxSTbf+qWxzA6WTy40vaEekCWUIyU9tNmHV c0E70IWKxUP3AuCGiyIUOx+kaiqMS/Xzc6N/+LBnuN8a9lwlZuYLqPGlYdcdWzcr 5BsrmMG3YL5po0+iBGgkwILP80GKThPOaO/KLc2MtiK95yDBrYpp9jzMbVYfruV9 z6rvTp5bbOG+aDclqVp0Q/KFp32B5ZngqcUMjRN7BpTL87VSSyDHQeuGTuLxkWtC EYQP6XL7rOIVBJdlfUtZYpxkb5hpQDVZyTDA1wBAR538y8f+3sKNDQx73CRvWXTV nTa4+BPD0S2x4OwljzQd40vdqXbolBnY+ovUdFBaxSsampRuR0sgH67pwVtqqeaa n+wv0BDO2vCN84NJkyalfFJp6i8q60eL3Vfhu9sHmm5ILUtGNBk= =mi1r -----END PGP SIGNATURE----- --dp4urggl6pvcm5xj--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171006132349.24bcqfmepwykerac>