From nobody Wed Nov 29 17:46:19 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SgRZh0DmCz531sb for ; Wed, 29 Nov 2023 17:46:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SgRZg5zmRz3gRM for ; Wed, 29 Nov 2023 17:46:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701279979; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mPzdw+c4LOLWcaS9oOqJIUlfa+eO5D5Dt3g0fRRL/Ks=; b=KvfxfgyS3sptqgDmrxafgwLIddeEKcCSEwFC+mbHLPhGvG9plNLjdaejLbm6qL0l4YO4zD hMvnyBRorkNa9UjABm5ykwGtWXlHTEJ3GVHJuRzD2hOp7wPdnI0Dll9O+Ug51M+szwPRIX vCidg9oQw5zJJBOi6fS4Kq1FIJ3AvGIpGE/utq3yAXXeC42qrrNcCO0kSqGWShI5Plz6rG na44ylL+CfzNYbcFCxJhSxcGQUF12j021NAxEPaBgbZG88NdWNVbH3+fCzXLg55vU67Kzs CRN+bn6C6zqtkWB3hXK98NN2O0UEOGx7KXPh8+w95N0lsB9pCEoEmT57QLeNCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701279979; a=rsa-sha256; cv=none; b=wkfuSzdLU5Rm+a0w89kvmwRrWx1wy+eyvY1LcD40ZhODdo/1wDk4gCcTigkcq0kfzc1UkL X88B5+yUAKoTZv/voE85Sh1fbbWAUstz5vvp6N33pH9pInj4pnQuIEhj9FZUzAyQPH6hh8 oawYXzRN8OEfQ8xV4AeYAy82Ns/WCggwEGdI3MuXdpN+zdE4pxeNGS6HExpkLcItv4BrWg o9kBbco33fm3GTFQDwfX+H9L3y/K8vIBSnhECGXYtz5KtjHArNoy0Gvj1aBcEr/4p5hvdP uSC8Nl1wB6BPPK/Y1LNqGJPn4Jl2QpmRu6KWci7q15HvvNaKO2W1HDxXEk4HhA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SgRZg4xQgzrd for ; Wed, 29 Nov 2023 17:46:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3ATHkJtQ089297 for ; Wed, 29 Nov 2023 17:46:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ATHkJ9r089296 for ports-bugs@FreeBSD.org; Wed, 29 Nov 2023 17:46:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275431] lang/gcc12: install ISO_Fortran_binding.h in a separate directory Date: Wed, 29 Nov 2023 17:46:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: thierry@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: salvadore@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 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.=