Due the GCC bug reported at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99982 the port science/cgnslib cannot be upgraded to v4.2.0: see also https://github.com/CGNS/CGNS/releases/tag/v4.2.0 Trying to build it anyway brings this message: Fortran mapping (cg_goto_f) is broken for the specified gfortran version. !!! IT'S ADVISABLE TO AVOID VERSION 10.2 !!! It seems that this bug is not yet fixed upstream, but when it will be available, please back-port the fix or upgrade when possible.
Thanks for the report and reference. I have the upgrade of lang/gcc10 to GCC 10.3 in the works and plan to commit in the following week, alas you (and the upstream report) indicate this doesn't yet address the issue. I'll keep on eye on the upstream report and will backport a fix once it develops if possible.
Fixed with gfortran bundled with Gcc 10.3.0.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=51d1ea8ed77c6d526c6913c399180a21bd5359d1 commit 51d1ea8ed77c6d526c6913c399180a21bd5359d1 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2021-04-25 13:56:52 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2022-04-20 18:17:05 +0000 science/cgnslib: upgrade to v4.3.0 Release notes at <https://github.com/CGNS/CGNS/releases>. PR: 255391 science/cgnslib/Makefile | 7 +++--- science/cgnslib/distinfo | 6 ++--- .../patch-src_cgnstools_cgnscalc_CMakeLists.txt | 18 +++++++-------- .../patch-src_cgnstools_cgnscalc_Makefile.unix | 15 +++++++------ ...h-src_cgnstools_cgnscalc_unitconv.desktop (new) | 9 ++++++++ science/cgnslib/pkg-plist | 26 ++++++++++++++-------- 6 files changed, 50 insertions(+), 31 deletions(-)