Edit: Problem Solved
Hello,
I am setting up a system on VirtualBox in Windows 7 Ultimate. I have a little problem with usage of different Python versions together.
Well, I ported Xorg and it uses Python 2.x. But I will port a few things in which can work with Python 3.x and I want them to work with Python 3.x and I wanna use Python 3.x as default.
So, if I would just configure the make.conf and set the default version of Python as 3.x and build the new ports then (I won't build any other ports that uses Python 2) would they work with Python 3 and could there be a problem with Xorg?
Or is there be a better solution for this problem?
I've search the web for it but most of the answers were outdated or not satisfactory. I find a good one but not fully understand it:
Can I do this in make.conf:
Thank you.
Hello,
I am setting up a system on VirtualBox in Windows 7 Ultimate. I have a little problem with usage of different Python versions together.
Well, I ported Xorg and it uses Python 2.x. But I will port a few things in which can work with Python 3.x and I want them to work with Python 3.x and I wanna use Python 3.x as default.
So, if I would just configure the make.conf and set the default version of Python as 3.x and build the new ports then (I won't build any other ports that uses Python 2) would they work with Python 3 and could there be a problem with Xorg?
Or is there be a better solution for this problem?
I've search the web for it but most of the answers were outdated or not satisfactory. I find a good one but not fully understand it:
20131003:
AFFECTS: users of lang/python*and ports
AUTHOR: mva@FreeBSD.org
The default versions of lang/python* have been changed to support the
new DEFAULT_VERSIONS variable.
PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION and
PYTHON3_DEFAULT_VERSION are deprecated.If you have set them in your
make.conf, you should change them something like
DEFAULT_VERSIONS=python=2.7 python2=2.7 python3=3.3
Can I do this in make.conf:
Code:
PYTHON_DEFAULT_VERSION="python3.3"
PYTHON2_DEFAULT_VERSION="python2.7"
PYTHON3_DEFAULT_VERSION0="python3.3"
Thank you.