Skip to content
Permalink
Browse files

vtk: Fix +qt5 variant

The necessary configure.args were completely missing.

VTK_BUILD_QT_DESIGNER_PLUGIN=OFF is necessary as there is no
port for Qt UiPlugin, which is required for this option.
  • Loading branch information...
bilke authored and pmetzger committed Jul 8, 2019
1 parent 1cc2818 commit f5b3a6c7c2f1f849dfad7064668e7449f41fe21d
Showing with 9 additions and 5 deletions.
  1. +9 −5 graphics/vtk/Portfile
@@ -33,7 +33,7 @@ checksums rmd160 6e9b3d00602cb1e34483f4f68cc5f7a522516102 \
size 33479307

cmake.out_of_source yes
mpi.setup
mpi.setup

depends_lib-append \
port:expat \
@@ -45,7 +45,7 @@ depends_lib-append \
port:lz4 \
port:netcdf-cxx \
port:tiff \
port:zlib
port:zlib

configure.args-delete \
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
@@ -85,6 +85,10 @@ variant qt4 description {Add Qt4 support.} {

variant qt5 description {Add Qt5 support.} {
PortGroup qt5 1.0
configure.args-append \
-DQT_QMAKE_EXECUTABLE:PATH=${qt_qmake_cmd} \
-DVTK_Group_Qt:BOOL=ON \
-DVTK_BUILD_QT_DESIGNER_PLUGIN=OFF
}

variant python27 conflicts python35 python36 python37 description {Add Python 2.7 support.} {
@@ -151,7 +155,7 @@ variant python37 conflicts python27 python35 python36 description {Add Python 3.
}

variant hdf5 description {Add hdf5 readers} {
depends_lib-append port:boost
depends_lib-append port:boost
configure.args-append \
-DVTK_USE_SYSTEM_HDF5:BOOL=ON \
-DVTK_USE_SYSTEM_NETCDF:BOOL=ON \
@@ -162,8 +166,8 @@ variant hdf5 description {Add hdf5 readers} {
-DModule_vtkIOXdmf2:BOOL=ON \
-DModule_vtkxdmf2:BOOL=ON \
-DModule_vtkxdmf3:BOOL=ON \
-DModule_vtkIOXdmf3:BOOL=ON
-DModule_vtkIOXdmf3:BOOL=ON

mpi.enforce_variant hdf5
}

0 comments on commit f5b3a6c

Please sign in to comment.
You can’t perform that action at this time.