git: 822b6995b26a - main - editors/emacs: Tweak GCC requirement

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Fri, 13 Jan 2023 14:25:46 UTC
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=822b6995b26aa26b9db3076c2b33207ec875276d

commit 822b6995b26aa26b9db3076c2b33207ec875276d
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2023-01-13 14:22:35 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2023-01-13 14:24:41 +0000

    editors/emacs: Tweak GCC requirement
    
    Support for the USE_GCC=X+ form was removed in 9b5f5ab.  Native
    compilation requires GCC version 11 or newer and the default version of
    GCC is now 12.
    
    Sponsored by:   The FreeBSD Foundation
---
 editors/emacs/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 6b966cd35949..2e32f1d3f268 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -186,7 +186,7 @@ MAILUTILS_CONFIGURE_ENV_OFF=	ac_cv_lib_lockfile_maillock=no \
 MODULES_CONFIGURE_WITH=		modules
 MOTIF_USES=			motif
 MOTIF_CONFIGURE_ON=		--with-x-toolkit=motif
-NATIVECOMP_USE=			GCC=11+
+NATIVECOMP_USE=			GCC=yes
 NATIVECOMP_CONFIGURE_WITH=	native-compilation
 NATIVECOMP_MAKE_ARGS=		NATIVE_FULL_AOT=1
 OSS_CONFIGURE_ON=		--with-sound=oss