Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2021 08:46:14 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3375c7e1c805 - main - math/vtk9: Fix QT option
Message-ID:  <202108190846.17J8kEe5021684@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3375c7e1c8055768381e0bdce9373f4ee354da4f

commit 3375c7e1c8055768381e0bdce9373f4ee354da4f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-08-19 07:29:02 +0000
Commit:     Yuri Victorovich <yuri@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108190846.17J8kEe5021684>