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

From: Gerald Pfeifer <gerald_at_pfeifer.com>
Date: Fri, 15 Oct 2021 18:39:23 UTC
On Fri, 15 Oct 2021, Antoine Brodin wrote:
>> 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
> [00:00:17] Warning: (audio/funktrackergold): Error:
> audio/funktrackergold depends on nonexistent origin 'lang/gccany';
> Please contact maintainer of the port to fix this.

Wee, how did you get these? I even ran `make index` before the commit.

The patch below should address this; okay to commit?

Gerald


diff --git a/Mk/Uses/compiler.mk b/Mk/Uses/compiler.mk
index 6e03765f2a50..b83f8acbf952 100644
--- a/Mk/Uses/compiler.mk
+++ b/Mk/Uses/compiler.mk
@@ -109,7 +109,7 @@ CHOSEN_COMPILER_TYPE=	${COMPILER_TYPE}
 
 .if ${_COMPILER_ARGS:Mnestedfct}
 .if ${COMPILER_TYPE} == clang
-USE_GCC=	any
+USE_GCC=	yes
 CHOSEN_COMPILER_TYPE=	gcc
 .endif
 .endif