Fix missing dependency on x11/qt6/qtquick3d

aja detects that x11/kde-plasma/kactivitymanagerd cannot be built.

If we look at the CMake trace, we see that KF6Config depends on QML,
which is registered as a lib dependency in KF6Config.

But it looks like KF6Config OR x11/qt6/qtdeclarative depends on
x11/qt6/qtquick3d in the cmake files. This still needs to be
investigated in detail. This diff fixes the faulty trace, but can
probably also occur in other configurations


CMake Error at 
/usr/local/lib/cmake/Qt6Qml/Qt6QQuick3DProfilerAdapterFactoryPluginConfig.cmake:55
 (include):
  include could not find requested file:

    
/usr/local/lib/cmake/Qt6Qml/Qt6QQuick3DProfilerAdapterFactoryPluginAdditionalTargetInfo.cmake
Call Stack (most recent call first):
  /usr/local/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:518 (include)
  /usr/local/lib/cmake/Qt6Qml/Qt6QmlPlugins.cmake:75 
(__qt_internal_include_plugin_packages)
  /usr/local/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake:148 (include)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 
(find_package)
  /usr/local/lib/cmake/KF6Config/KF6ConfigConfig.cmake:43 (find_dependency)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 
(find_package)
  /usr/local/lib/cmake/KF6KIO/KF6KIOConfig.cmake:31 (find_dependency)
  CMakeLists.txt:61 (find_package)

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/kf6/kconfig/Makefile,v
diff -u -p -r1.4 Makefile
--- Makefile    13 Aug 2024 05:21:28 -0000      1.4
+++ Makefile    27 Oct 2024 12:47:30 -0000
@@ -1,5 +1,6 @@
 COMMENT =      KDE configuration system
 DISTNAME =     kconfig-${VERSION}
+REVISION =     0
 
 SHARED_LIBS +=  KF6ConfigCore             0.0 # 0.0
 SHARED_LIBS +=  KF6ConfigGui              0.0 # 0.0
@@ -8,6 +9,7 @@ SHARED_LIBS +=  KF6ConfigQml            
 WANTLIB += ${COMPILER_LIBCXX} GL Qt6Core Qt6DBus Qt6Gui Qt6Network
 WANTLIB += Qt6OpenGL Qt6Qml Qt6QmlModels Qt6Quick Qt6Xml c m
 
+RUN_DEPENDS =  x11/qt6/qtquick3d
 LIB_DEPENDS =  x11/qt6/qtdeclarative
 
 # for tests

Reply via email to