https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209204
--- Comment #13 from Iblis Lin <[email protected]> --- Created attachment 171563 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171563&action=edit propose patch Please give this patch a try, It follows the rule i proposed in bug 209551, comment 1. Here describe the testing flow: 1. prepare a new jail 2. check the current priority of `${LOCALBASE}/bin/python` $ pkg install python # should create a symlink `/usr/local/bin/python` $ cd /usr/ports/databases/py-sqlite3 $ make -V PYTHON_VERSION DEFAULT_VERSIONS=python=3.5 python2.7 # the symlink win now 3. apply this patch 4. check that DEFAULT_VERSIONS got higher priority $ cd /usr/ports/databases/py-sqlite3 $ make -V PYTHON_VERSION python2.7 $ make -V PYTHON_VERSION DEFAULT_VERSIONS=python=3.5 python3.5 5. one more check for priority of symlink `/usr/local/bin/python` $ pkg delete python $ pkg install python3 # we will get python3.4 installed $ cd /usr/local/bin $ ln -s python3 python $ ls -l python lrwxr-xr-x 1 root wheel 7 Jun 19 14:16 python@ -> python3 $ cd /usr/ports/databases/py-sqlite3 $ make -V PYTHON_VERSION DEFAULT_VERSIONS=python=3.5 python3.5 $ make -V PYTHON_VERSION python3.4 # ya! symlink auto-detect correct! -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ kde-freebsd mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
