git: 3375c7e1c805 - main - math/vtk9: Fix QT option
Yuri Victorovich
yuri at FreeBSD.org
Thu Aug 19 08:46:14 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3375c7e1c8055768381e0bdce9373f4ee354da4f
commit 3375c7e1c8055768381e0bdce9373f4ee354da4f
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-08-19 07:29:02 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-08-19 08:46:10 +0000
math/vtk9: Fix QT option
It wasn't properly enabling Qt support.
---
math/vtk9/Makefile | 7 ++++---
1 file 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
More information about the dev-commits-ports-all
mailing list