Created attachment 234958 [details] patch VTK-6 is long-obsolete and should be deprecated. Also the project looks for python during build. USES=python is added with related adjustments.
Also math/vtk6 should be deprecated after this since devel/gdcm is the last remaining user.
Can you resubmit the patch? I don't have a pre-existing patch-Wrapping_Python_CMakeLists.txt to change.
Created attachment 234959 [details] patch Sorry, the patch was wrong due to a bug in my script. Yuri
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f5541298099b722e34632ca9ed388bda91064e7 commit 8f5541298099b722e34632ca9ed388bda91064e7 Author: Stephen Montgomery-Smith <stephen@FreeBSD.org> AuthorDate: 2022-06-26 23:03:43 +0000 Commit: Stephen Montgomery-Smith <stephen@FreeBSD.org> CommitDate: 2022-06-26 23:03:43 +0000 devel/gdcm: Use latest VTK-9 instead of ancient VTK-6; Add USES=python Bump portrevision. PR: 264917 Reported by: yuri@freebsd.org devel/gdcm/Makefile | 29 +++++++++++++--------- ...s_VTK_vtkImageMapToWindowLevelColors2.cxx (new) | 13 ++++++++++ .../patch-Wrapping_Python_CMakeLists.txt (new) | 15 +++++++++++ 3 files changed, 45 insertions(+), 12 deletions(-)
Committed, with portrevision bumped. Thank you.