[Bug 209551] Python bits ignore DEFAULT_VERSIONS
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jun 19 08:33:38 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209551
--- Comment #6 from Iblis Lin <iblis at hs.ntnu.edu.tw> ---
(In reply to Kubilay Kocak from comment #5)
> - The port that is affected
Hmm... every python ports will be affected if the symlink
`/usr/local/bin/python` (not `/usr/local/pythonX`) exists.
This line
(https://svnweb.freebsd.org/ports/head/Mk/Uses/python.mk?view=markup&pathrev=414168#l276)
make this behavior.
So if user install `lang/python` with python27 first, THEN, the DEFAULT_VERSION
become useless.
e.g
$ cd /to/py-sqlite3 # choose any py2/3 compatable ports
$ make -V PYTHON_VERSION DEFAULT_VERSIONS=python=3.5
python3.5 # expected result
$ pkg install lang/python
...
$ make -V PYTHON_VERSION DEFAULT_VERSIONS=python=3.5
python2.7 # OMG
So i think the point is not the python package required...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-python
mailing list