This is an interesting one... [and I don't think its reasonable to split it up, as it would require multiple bumps to revisions].
- Update Qt 5.7.1
- Rename the Qt-ports as described in D8603
- Move stuff around. Short version:
- QT_LIBDIR -> ${PRREFIX}/lib/qt[45] (no change for qt5)
- QT_BINDIR -> ${QT_LIBDIR}/bin (no change for qt5)
- Depend on new port "misc/qtchooser" for qmake/moc/foo-binaries in PATH.
- Note: previously only qt4 binaries were in path
- Accoding to a comment in bsd.qt.mk, this was prepared, or planned long ago (by someone else in kde@) but never done.
- Install two profiles: qt4 and qt5, so that env QT_SELECT=qt4 qmake gives you qmake4 and env QT_SELECT=qt5 qmake the other. This works for all qt-installed binaries.
- Reasons for the move of files:
- Long standing kde@ bug, that inplace upgrading of ports can fail: As we split up qtbase a port of qtbase could pick up the old shared library from $PREFIX/lib during the build instead of the one in $BUILDWRKSRC, if a dependency added $PREFIX/lib to the linker directories.
- The symmetry between qt4 and qt5 allows us to use qtchooser.
- I decided to keep installing Qt5's cmake files to lib/cmake and not lib/qt5/cmake. This requires some patches.
- All the new ports were created by Marie Loise Nolden <nolden@kde.org> back in spring of last year.