FreeBSD Port: x11-toolkits/qt6-declarative: 6.7.2 built in the environment where qt6-svg is installed changes the build of qt6-5compat

From: Tatsuki Makino <tatsuki_makino_at_hotmail.com>
Date: Sat, 24 Aug 2024 10:12:40 UTC
Hello.
It's a subject that doesn't make sense :), but it's as follows.

When qt6-declarative-6.7.2 (x11-toolkits/qt6-declarative) is built (make configure) in an environment where qt6-svg-6.7.2 (graphics/qt6-svg) is installed, the following differences occur

--- usr/ports/x11-toolkits/qt6-declarative/work/.build/lib/qt6/cmake/Qt6Quick/Qt6QuickDependencies.cmake	2024-08-24 09:40:59.298815000 +0000
+++ /usr/local/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake	2024-08-24 07:29:21.000000000 +0000
@@ -33,7 +33,7 @@
 _qt_internal_find_third_party_dependencies("Quick" __qt_Quick_third_party_deps)

 # Find Qt tool package.
-set(__qt_Quick_tool_deps "")
+set(__qt_Quick_tool_deps "Qt6QuickTools\;6.7.2")
 _qt_internal_find_tool_dependencies("Quick" __qt_Quick_tool_deps)

 # note: target_deps example: "Qt6Core\;5.12.0;Qt6Gui\;5.12.0"

This difference changes the number of files that qt6-5compat-6.7.2 (devel/qt6-5compat) installs.
When make check-plist of qt6-5compat is run, it reports that there is a problem.

This is a problem that only occurs when updating using a tool that behaves like portmaster, so if it doesn't work, delete qt6-svg and rebuild qt6-declarative.
However, it takes a little longer to build qt6-declarative :)

Regards.