If the port has USES=qt:5 and USE_QT=declarative, it fails:
> Error a dependency refers to a non existing origin: /usr/ports/x11-toolkits/qt5-declarative in LIB_DEPENDS
_USE_QT_ALL contains 'declarative' in it, but x11-toolkits/qt5-declarative doesn't exist.
QtDeclarative has been discontinued in Qt5, replaced with QML framework, see http://doc.qt.io/qt-5/qtquick-porting-qt5.html
At the moment we still split declarative into lang/qt5-qml and x11-toolkits/qt5-quick (USE_QT=qml and USE_QT=quick). However I have a patch to merge them back together into one (for PR 223687).
In short: at the moment "declarative" should not be in the list of components for both qt:4 and qt:5 (_USE_QT_ALL) and only in (_USE_QT4_ONLY).
Until they are merged together, that is :)
A commit references this bug:
Date: Tue Oct 23 18:30:52 UTC 2018
New revision: 482869
qt.mk: move 'declarative' to the Qt4 only list.
- qt5 has that port split into the components 'quick' and 'qml'
at the moment, so it should not be in the 'All' list.
Reported by: yuri
I removed it from the list until it is merged back together.