If built against opencascade-7.8.0, elmerfem-9.0_14 fails with the following errors: ld: error: unable to find library -lTKSTEP ld: error: unable to find library -lTKIGES ld: error: unable to find library -lTKSTEP209 ld: error: unable to find library -lTKSTEPAttr ld: error: unable to find library -lTKSTEPBase ld: error: unable to find library -lTKSTEP ld: error: unable to find library -lTKIGES ld: error: unable to find library -lTKSTEP209 ld: error: unable to find library -lTKSTEPAttr ld: error: unable to find library -lTKSTEPBase c++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1
Created attachment 248754 [details] science_elmerfem_9.0_15.diff The attached patch seems to do the trick.
Thanks Henrik!
Created attachment 249221 [details] Adding support of OpenCascade 7.8.0 Remark: I had to move post-patch-OCC-on to pre-configure-OCC-on, in order to make opencascade available when `pkg query' is run.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d0646a9501a862ba21e8f9c1e919d94580036379 commit d0646a9501a862ba21e8f9c1e919d94580036379 Author: Henrik Gulbrandsen <henrik@gulbra.net> AuthorDate: 2024-03-16 13:02:09 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2024-03-21 18:01:17 +0000 science/elmerfem: support opencascade-7.8.0 PR: 277307 science/elmerfem/Makefile | 8 ++++---- .../elmerfem/files/patch-ElmerGUI_CMakeLists.txt (new) | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-)
Committed, thanks!