Your diffs apply now, but cad/prusaslicer still has CGAL in WANTLIB.
Diff below configures, but fails to build, so you need to handle that
before updating math/cgal.
If cad/openscad (and cad/prusaslicer most likely as well) require new
version to build in the future, I'd add a version spec to the dependency:
BUILD_DEPENDS += math/cgal>=5.6v0
Have you looked into enabling tests for cgal?
Would be nice to hear from Ian (imported prusaslicer) or its
maintainer Renato about this.
Index: Makefile
===================================================================
RCS file: /cvs/ports/cad/prusaslicer/Makefile,v
diff -u -p -r1.3 Makefile
--- Makefile 21 Oct 2023 13:49:26 -0000 1.3
+++ Makefile 29 Oct 2023 14:40:44 -0000
@@ -1,7 +1,7 @@
COMMENT = g-code generator for 3D printers
V = 2.5.2
-REVISION = 1
+REVISION = 2
PKGNAME = prusaslicer-${V}
GH_ACCOUNT = prusa3d
@@ -17,7 +17,7 @@ MAINTAINER = Renato Aguiar <renato@renat
# AGPLv3+
PERMIT_PACKAGE = Yes
-WANTLIB += ${COMPILER_LIBCXX} CGAL GL GLEW TKBO TKBRep TKCAF TKCDF
+WANTLIB += ${COMPILER_LIBCXX} GL GLEW TKBO TKBRep TKCAF TKCDF
WANTLIB += TKG2d TKG3d TKGeomAlgo TKGeomBase TKHLR TKLCAF TKMath
WANTLIB += TKMesh TKPrim TKSTEP TKSTEP209 TKSTEPAttr TKSTEPBase
WANTLIB += TKService TKShHealing TKTopAlgo TKV3d TKVCAF TKXCAF
@@ -44,6 +44,7 @@ MODGNOME_TOOLS = desktop-file-utils gtk-
# cereal/eigen3 are header-only libraries
BUILD_DEPENDS = devel/cereal \
devel/gmp,-cxx \
+ math/cgal \
math/eigen3
LIB_DEPENDS = cad/opencascade \
@@ -53,7 +54,6 @@ LIB_DEPENDS = cad/opencascade \
graphics/glew \
graphics/openvdb \
graphics/png \
- math/cgal \
math/nlopt \
math/qhull \
net/curl \