d-Rd8iaDUSjmB_wHHiA=s2r5Dv_vPfarMMgENg@mail.gmail.com> References: <674b2ef0-9d92-4540-afa7-9da6b625065a@freebsd.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR] X-Rspamd-Queue-Id: 4VkqFj5llTz55DX On Wed, 22 May 2024 14:10:33 +0300 Gleb Popov wrote: > On Wed, May 22, 2024 at 2:07?PM Matthias Fechner 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