Building for python3 instead of python2
Boris Samorodov
bsam at passap.ru
Thu Sep 25 14:21:35 UTC 2014
Hi, Axel!
25.09.2014 18:07, Axel Rau пишет:
> I have a port with
> USES= python
> but it insists installing python2.7 instead of installed python3.4
> I played with
> DEFAULT_VERSIONS= python3:3.4
> without luck.
>
> Please advice.
>From Mk/Uses/python.mk:
-----
# Variables, which can be set by a user:
#
# PYTHON_VERSION - The chosen Python interpreter including the
version,
# e.g. python2.7, python3.3, etc. This allows
the user
# to override the currently chosen default
version and
# to install the port for a specific Python version.
# It must not be set by a port.
-----
Seems that a line "PYTHON_VERSION=python3.4" at /etc/make.conf
may fit your needs.
--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
More information about the freebsd-python
mailing list