git: b4eb3cc1255f - main - editors/emacs-devel: Tweak GCC requirement

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Mon, 09 Jan 2023 13:59:02 UTC
The branch main has been updated by jrm:

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

commit b4eb3cc1255ff5de7344bf2ff0c15eae214be4e9
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2023-01-09 13:35:57 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2023-01-09 13:55:59 +0000

    editors/emacs-devel: 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-devel/Makefile             | 3 ++-
 editors/emacs-devel/files/pkg-message.in | 9 +++++----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile
index 27816e2de467..0a8a8e64888a 100644
--- a/editors/emacs-devel/Makefile
+++ b/editors/emacs-devel/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	emacs
 DISTVERSION=	30.0.50.20230101
+PORTREVISION=	1
 PORTEPOCH=	3
 CATEGORIES=	editors
 PKGNAMESUFFIX=	-devel
@@ -173,7 +174,7 @@ MAILUTILS_CONFIGURE_WITH=	mailutils
 MAILUTILS_CONFIGURE_ENV_OFF=	ac_cv_lib_lockfile_maillock=no \
 				ac_cv_prog_liblockfile=no
 MODULES_CONFIGURE_WITH=		modules
-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
diff --git a/editors/emacs-devel/files/pkg-message.in b/editors/emacs-devel/files/pkg-message.in
index 24db8aefacdf..20b1def400dd 100644
--- a/editors/emacs-devel/files/pkg-message.in
+++ b/editors/emacs-devel/files/pkg-message.in
@@ -2,10 +2,11 @@
 %%NATIVECOMP_COMMENT_START%%
 { type: install
   message: <<EOM
-Emacs is now built with native compilation enabled, however it is
-known that some elisp applications don't work correctly when compiled.
-You can work any such issues by disabling native compilation using
-the following steps.
+Emacs is now built with native compilation enabled by default, which
+requires GCC version 11 or newer.  It is known that some elisp
+applications don't work correctly when compiled.  You can work any
+such issues by disabling native compilation using the following
+steps.
 
 1. Add the following lines at the top of your Emacs configuration: