From 2edab7ca82988fc4a066d0c40d50bcd8a472d098 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Wed, 2 Nov 2022 06:58:49 -0800 Subject: [PATCH] math/vtk9: Add workaround for a regression in VTK that requires qmake and moc find_package(VTK QUIET COMPONENTS GUISupportQt) erroneously requires qmake and moc to be present. misc/visp regressed for this reason after VTK was updated to 9.2.2 even though VTK is only a proxy dependency for visp. Reported by: fallout --- math/vtk9/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile index f8d6979ac5e97..d43ca1f931ba2 100644 --- a/math/vtk9/Makefile +++ b/math/vtk9/Makefile @@ -1,5 +1,6 @@ PORTNAME= vtk DISTVERSION= 9.2.2 +PORTREVISION= 1 CATEGORIES= math graphics MASTER_SITES= https://vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 9 @@ -72,7 +73,7 @@ PYTHON_CMAKE_ON= -DVTK_PYTHON_VERSION=${PYTHON_MAJOR_VER} -DPython3_EXECUTABLE=$ PYTHON_VARS= SUB_FILES=PKG-INFO SUB_LIST=PORTVERSION=${PORTVERSION} QT5_USES= qt:5 -QT5_USE= QT=core,declarative,gui,network,opengl,sql,uiplugin,widgets,x11extras,qmake:build,buildtools:build +QT5_USE= QT=core,declarative,gui,network,opengl,sql,uiplugin,widgets,x11extras,qmake,buildtools # qmake and buildtools should be with :build, but see https://gitlab.kitware.com/vtk/vtk/-/issues/18705 QT5_CMAKE_ON= -DVTK_GROUP_ENABLE_Qt:STRING=YES \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5