summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-08-19 00:29:02 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2021-08-19 01:46:10 -0700
commit3375c7e1c8055768381e0bdce9373f4ee354da4f (patch)
treeb2c81a06933a54a65fc516e9ef5d4785d4683b4d
parentmultimedia/openh264: backport FreeRDP decoding fix (diff)
math/vtk9: Fix QT option
It wasn't properly enabling Qt support.
-rw-r--r--math/vtk9/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile
index 987228db10b2..78e234e7caef 100644
--- a/math/vtk9/Makefile
+++ b/math/vtk9/Makefile
@@ -1,5 +1,6 @@
PORTNAME= vtk
DISTVERSION= 9.0.3
+PORTREVISION= 1
CATEGORIES= math graphics
MASTER_SITES= https://vtk.org/files/release/${VTK_SHORT_VER}/
PKGNAMESUFFIX= 9
@@ -63,9 +64,9 @@ PYTHON_VARS= SUB_FILES=PKG-INFO SUB_LIST=PORTVERSION=${PORTVERSION}
QT5_USES= qt:5
QT5_USE= QT=core,gui,sql,uiplugin,widgets,x11extras,qmake_build,buildtools_build
-QT5_CMAKE_ON= -DVTK_QT_VERSION:STRING="5" \
- -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 \
- -DVTK_Group_Qt:BOOL=ON
+QT5_CMAKE_ON= -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 \
+ -DVTK_GROUP_ENABLE_Qt:STRING=YES \
+ -DVTK_MODULE_ENABLE_VTK_GUISupportQt:STRING=YES
DESIGNER_CMAKE_BOOL= QT_DESIGNER_PLUGIN
DESIGNER_USE= QT=designer