Skip site navigation (1)Skip section navigation (2)
References:  <674b2ef0-9d92-4540-afa7-9da6b625065a@freebsd.org> <CALH631=w4_mjd-Rd8iaDUSjmB_wHHiA=s2r5Dv_vPfarMMgENg@mail.gmail.com>

| previous in thread | raw e-mail | index | archive | help
On Wed, 22 May 2024 14:10:33 +0300
Gleb Popov <arrowd@freebsd.org> wrote:

> On Wed, May 22, 2024 at 2:07?PM Matthias Fechner <mfechner@freebsd.org> w=
rote:
> >
> > What is the recommended why to add python as a runtime dependency that =
the python binary is available?
>=20
> We usually patch the software to use pythonXY everywhere. For shebangs
> it can be done via USES=3Dshebangfix and for other cases resort to
> patches or REINPLACE_CMD incantations.
>=20

 An easier way is to use BINARY_ALIAS=3D python3=3D${PYTHON_CMD}

 Cheers,

--=20
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>