Date: Wed, 29 Nov 2023 17:46:19 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275431] lang/gcc12: install ISO_Fortran_binding.h in a separate directory Message-ID: <bug-275431-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275431 Bug ID: 275431 Summary: lang/gcc12: install ISO_Fortran_binding.h in a separate directory Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: salvadore@freebsd.org Reporter: thierry@FreeBSD.org Assignee: salvadore@freebsd.org Flags: maintainer-feedback?(salvadore@freebsd.org) Created attachment 246666 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246666&action= =3Dedit lang/gcc12: install ISO_Fortran_binding.h in a separate directory ISO_Fortran_binding.h is sometimes needed for the support of Fortran 2018, = e.g. MPICH must find it to build mpi_f08.mod. ATM it is installed in a directory depending on $CONFIGURE_TARGET with a complex path, and it is not possible to point CFLAGS towards this directory because other headers (like stdatomic.h) would conflict with those from the system. Therefore create a new directory /usr/local/include/gcc12 to install this header. Secondly introduce a new CFLAGS for ISO_Fortran_binding.h into Mk/Uses/fortran.mk. Define CFLAGS_F2018: if needed it will point towards the directory containi= ng ISO_Fortran_binding. (installed by GCC). Of course, this patch should be applied too in lang/gcc13 and later, but th= ere is no hurry. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275431-7788>