git: 15bfd7814feb - main - math/vtk9: Disable Qt6 discovery

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 20 Oct 2022 06:48:52 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=15bfd7814feb4ff67c141afb6ed6f6ec63b7db9c

commit 15bfd7814feb4ff67c141afb6ed6f6ec63b7db9c
Author:     alt2600@icloud.com <alt2600@icloud.com>
AuthorDate: 2022-10-20 06:47:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-20 06:48:50 +0000

    math/vtk9: Disable Qt6 discovery
    
    PR:             267217
---
 math/vtk9/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile
index 2ec7af56d10f..79f86663ec6f 100644
--- a/math/vtk9/Makefile
+++ b/math/vtk9/Makefile
@@ -36,6 +36,9 @@ CMAKE_ARGS=	-DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \
 		-DSTAGEDIR=${STAGEDIR}
 		# all build options are documented here: https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/build.md
 
+# disable finding Qt6
+CMAKE_ON+=	CMAKE_DISABLE_FIND_PACKAGE_Qt6
+
 VTK_SHORT_VER=	${PORTVERSION:R}
 
 DOCSDIR=	${PREFIX}/share/doc/vtk-${VTK_SHORT_VER}