I am trying again to switch my installed ports over to Python 3.6 as it was changed to be the default version in April. For most ports it is a simple case of doing
The /usr/ports/UPDATING entry for the Python default version change just says that the default changed and does not offer any advice for actually updating ports to use the new default version.
If anyone has managed to build samba 4.8 with Python 3 (and no dependency on any Python 2 ports), I'd appreciate hearing what the method is to accomplish that.
# portupgrade -f <portname>
. I have a few ports that simply don't work with Python 3 - security/cfv, security/denyhosts and devel/scons, but I would have expected net/samba48 to be python3-aware. And in fact the samba 4.8 release notes say that it has been aware since 4.8.0rc3. So this would seem to be a FreeBSD-ism and not some characteristic of samba 4.8 itself. /usr/ports/net/samba48/Makefile has explicit references to Python 2.7, which would seem to confirm that.The /usr/ports/UPDATING entry for the Python default version change just says that the default changed and does not offer any advice for actually updating ports to use the new default version.
If anyone has managed to build samba 4.8 with Python 3 (and no dependency on any Python 2 ports), I'd appreciate hearing what the method is to accomplish that.