summaryrefslogtreecommitdiff
path: root/cad/freecad
diff options
context:
space:
mode:
Diffstat (limited to 'cad/freecad')
-rw-r--r--cad/freecad/Makefile9
-rw-r--r--cad/freecad/distinfo6
2 files changed, 8 insertions, 7 deletions
diff --git a/cad/freecad/Makefile b/cad/freecad/Makefile
index 0ba67b1b1140..fe645db2469c 100644
--- a/cad/freecad/Makefile
+++ b/cad/freecad/Makefile
@@ -1,6 +1,6 @@
PORTNAME= FreeCAD
-DISTVERSION= 1.0.1
-PORTREVISION= 2
+DISTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= cad
MAINTAINER= cmt@FreeBSD.org
@@ -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>
diff --git a/cad/freecad/distinfo b/cad/freecad/distinfo
index 657cfb894275..2cb103f96243 100644
--- a/cad/freecad/distinfo
+++ b/cad/freecad/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1747340459
-SHA256 (FreeCAD-FreeCAD-1.0.1_GH0.tar.gz) = f62bc07c477544eff62b6ab0fc3bb63fa7f1e6f94763c51b0049507842d444f3
-SIZE (FreeCAD-FreeCAD-1.0.1_GH0.tar.gz) = 91625067
+TIMESTAMP = 1754430856
+SHA256 (FreeCAD-FreeCAD-1.0.2_GH0.tar.gz) = 228ee52f00627c7d8fa61998179deb01865ece69390829feb1300228d24f7e9e
+SIZE (FreeCAD-FreeCAD-1.0.2_GH0.tar.gz) = 91635756
SHA256 (Ondsel-Development-OndselSolver-91f70382beeb58b32432b5a82da3802e4c19199c_GH0.tar.gz) = 061f651f503f1ec5a9814e174cdb8a9ba84d511a3b8be3d94852e84976c6b158
SIZE (Ondsel-Development-OndselSolver-91f70382beeb58b32432b5a82da3802e4c19199c_GH0.tar.gz) = 4667938