1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

- Fix make install error when compiling with QT5 enabled.

PR:		ports/226752
Submitted by:	otacilio.neto@bsd.com.br
This commit is contained in:
Stephen Montgomery-Smith 2018-03-20 02:19:21 +00:00
parent 6371015364
commit 9d086f1599
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465054
2 changed files with 3 additions and 1 deletions

View File

@ -130,6 +130,7 @@ USE_QT4= gui_build gui_run network_build network_run sql_build sql_run \
moc_build uic_build qmake_build rcc_build opengl webkit_build \
webkit_run
CMAKE_ARGS+= -DVTK_QT_VERSION:STRING="4"
PLIST_SUB+= QTV="qt4"
.endif
.if ${PORT_OPTIONS:MQT5}
@ -137,6 +138,7 @@ USE_QT5= gui_build gui_run network_build network_run sql_build sql_run \
qmake_build opengl webkit_build buildtools webkit_run
CMAKE_ARGS+= -DVTK_QT_VERSION:STRING="5" \
-DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5
PLIST_SUB+= QTV="qt5"
.endif
.if ${PORT_OPTIONS:MQT4} || ${PORT_OPTIONS:MQT5}

View File

@ -825,7 +825,7 @@
%%QT%%lib/cmake/vtk-%%VER2%%/Modules/vtkGUISupportQtWebkit.cmake
%%QT%%lib/cmake/vtk-%%VER2%%/Modules/vtkRenderingQt.cmake
%%QT%%lib/cmake/vtk-%%VER2%%/Modules/vtkViewsQt.cmake
%%SHARED%%%%DESIGNER%%lib/qt4/plugins/designer/libQVTKWidgetPlugin-%%VER2%%.so
%%SHARED%%%%DESIGNER%%lib/%%QTV%%/plugins/designer/libQVTKWidgetPlugin-%%VER2%%.so
%%SHARED%%%%JAVA%%%%MPI%%lib/vtk-%%VER2%%/libvtkFiltersParallelGeometryJava.so
%%SHARED%%%%JAVA%%%%MPI%%lib/vtk-%%VER2%%/libvtkFiltersParallelMPIJava.so
%%SHARED%%%%JAVA%%%%MPI%%lib/vtk-%%VER2%%/libvtkIOMPIImageJava.so