git: 3d1ff1fdae49 - main - Mk/bsd.gcc.mk: Remove USE_GCC=any

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Fri, 15 Oct 2021 17:48:28 UTC
The branch main has been updated by gerald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3d1ff1fdae49931a3572adc81519f3a277a77253

commit 3d1ff1fdae49931a3572adc81519f3a277a77253
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2021-10-15 17:43:11 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2021-10-15 17:47:53 +0000

    Mk/bsd.gcc.mk: Remove USE_GCC=any
    
    We have recommended against USE_GCC=any for a while, and as of more
    recently it was completely equivalent to USE_GCC=yes.
    
    With (ancient versions of) GCC hardly available in the base system
    of FreeBSD systems at this point, there's unlikely to be a use case
    to reintroduce it, so remove the few remaining traces.
    
    PR:             258015
---
 Mk/bsd.gcc.mk | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk
index 5a8d5d20d4e6..b0d01006f68b 100644
--- a/Mk/bsd.gcc.mk
+++ b/Mk/bsd.gcc.mk
@@ -21,9 +21,6 @@
 # If no arguments are specified, GCC is added as both a build dependency
 # and a run time dependency.
 #
-# (USE_GCC=any is deprecated - and now an odd way to write USE_GCC=yes.
-# Do *not* use! It will be removed shortly.)
-#
 #
 # Examples:
 #   USE_GCC=	yes			# port requires a current version of GCC
@@ -68,8 +65,8 @@ IGNORE=	bad target specification in USE_GCC; only "build" is supported
 
 .if defined(USE_GCC) && !defined(FORCE_BASE_CC_FOR_TESTING)
 
-# Handle USE_GCC=yes and USE_GCC=any.
-.if ${USE_GCC} == yes || ${USE_GCC} == any
+# Handle USE_GCC=yes.
+.if ${USE_GCC} == yes
 USE_GCC=	${GCC_DEFAULT}+
 .endif