diff options
Diffstat (limited to 'cad/freecad/Makefile')
-rw-r--r-- | cad/freecad/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cad/freecad/Makefile b/cad/freecad/Makefile index 0ba67b1b1140..830446b4e4ec 100644 --- a/cad/freecad/Makefile +++ b/cad/freecad/Makefile @@ -1,5 +1,5 @@ PORTNAME= FreeCAD -DISTVERSION= 1.0.1 +DISTVERSION= 1.0.2 PORTREVISION= 2 CATEGORIES= cad @@ -61,8 +61,6 @@ USE_LDCONFIG= yes CPE_VENDOR= freecad_project -VTK_VER= 9.2 - DOS2UNIX_GLOB= *.txt *.h *.cpp *.py *.qss *.csv *.pov *.stp *.ui *.wrl *.WRL SHEBANG_FILES= src/Tools/freecad-thumbnailer @@ -103,6 +101,8 @@ CMAKE_ARGS+= -DOCC_INCLUDE_DIR="${LOCALBASE}/include/OpenCASCADE" \ CMAKE_INSTALL_PREFIX= ${PREFIX}/${PORTNAME} +CXXFLAGS+= -DGetCellLinks=GetLinks # fix for vtk-9.5.0: equivalent of this patch: https://github.com/FreeCAD/FreeCAD/issues/21731#issuecomment-2934487147 + OPTIONS_DEFINE= COLLADA COLLADA_DESC= Install pycollada for Collada files import @@ -132,4 +132,5 @@ post-install: ${INSTALL_SCRIPT} ${WRKSRC}/src/Tools/freecad-thumbnailer \ ${STAGEDIR}${PREFIX}/bin/freecad-thumbnailer +.include <../../math/vtk9/Makefile.version> .include <bsd.port.mk> |