Le dim. 19 avr. 20 à 0:57:29 +0200, Christoph Moench-Tegeder <c...@burggraben.net> écrivait :
> Hmpf - now I _had_ to fix FreeCAD - that thing has it's own dependency > on vtk, and we cannot have vtk6 and vtk8 at the same time. Thanks, I did not know that. > > Looks like vtk8 need some love... building as I write. > > Either > - math/vtk8 should convert the QT5_USE of qmake_build and > buildtools_build to qmake and buildtools, respectively > Or > - every consumer of math/vtk8 (I'm talking about opencascade here) > needs to QT5_USE qmake_build and buildtools_build. > > vtk8's CMake-Files reference Qt and are very unhappy if they don't > have qmake and moc. This simple patch could help: Index: math/vtk8/Makefile =================================================================== --- math/vtk8/Makefile (revision 531138) +++ math/vtk8/Makefile (working copy) @@ -2,7 +2,7 @@ PORTNAME= vtk DISTVERSION= 8.1.2 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math graphics MASTER_SITES= http://www.vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 8 @@ -62,7 +62,7 @@ .endfor QT5_USES= qt:5 -QT5_USE= QT=core,gui,sql,uiplugin,widgets,x11extras,qmake_build,buildtools_build +QT5_USE= QT=core,gui,sql,uiplugin,widgets,x11extras,qmake_build,buildtools QT5_CMAKE_ON= -DVTK_QT_VERSION:STRING="5" \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 \ -DVTK_Group_Qt:BOOL=ON Cc'ing: Yuri (maintainer) -- Th. Thomas.
signature.asc
Description: PGP signature