diff options
Diffstat (limited to 'math/vtk6/Makefile')
-rw-r--r-- | math/vtk6/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/math/vtk6/Makefile b/math/vtk6/Makefile index af9a91ab6962..096a41b90ec7 100644 --- a/math/vtk6/Makefile +++ b/math/vtk6/Makefile @@ -126,7 +126,8 @@ PLIST_SUB+= MPI="@comment " .endif .if ${PORT_OPTIONS:MQT4} -USE_QT4= gui_build gui_run network_build network_run sql_build sql_run \ +USES+= qt:4 +USE_QT= 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" @@ -134,7 +135,8 @@ PLIST_SUB+= QTV="qt4" .endif .if ${PORT_OPTIONS:MQT5} -USE_QT5= gui_build gui_run network_build network_run sql_build sql_run \ +USES+= qt:5 +USE_QT= 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 @@ -151,9 +153,9 @@ CMAKE_ARGS+= -DVTK_Group_Qt:BOOL=OFF .if ${PORT_OPTIONS:MDESIGNER} .if ${PORT_OPTIONS:MQT5} -USE_QT5+= designer +USE_QT+= designer .elif ${PORT_OPTIONS:MQT4} -USE_QT4+= designer +USE_QT+= designer .else IGNORE= designer requires either QT4 or QT5 .endif |