Date: Sun, 13 Nov 2022 09:37:29 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267215] Mk/bsd.gcc.mk: Stop checking if specific version requested is already installed Message-ID: <bug-267215-7788-B4m9madvW7@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-267215-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-267215-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267215 Gerald Pfeifer <gerald@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(gerald |maintainer-feedback- |@FreeBSD.org) | --- Comment #2 from Gerald Pfeifer <gerald@FreeBSD.org> --- Update: Essentially with the proposed patch, if a user has GCC 10 installed as the only version and one installs a port that has USE_GCC=3D10= +, the installed GCC port is going to be ignored and GCC_DEFAULT is installed and used in any case. In other words, with your patch USE_GCC=3DXX+ becomes equivalent to USE_GCC=3Dyes when XX <=3D GCC_DEFAULT. Is this correct? If so, this is a fundamental change, whereas the usecase of playing with GCC_DEFAULT is a very special one that hardly anyone should ever entertain. Admittedly what Mk/bsd.gcc.mk does these days, and the variety of environments it needs to handle, are vastly reduced from, say, five, seven, let alone more years ago and it is not unthinkable to reduce that further. If so, I'd probably go about it a bit differently, though. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267215-7788-B4m9madvW7>