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
This commit is contained in:
Joseph Mingrone 2023-01-09 09:35:57 -04:00
parent 4128f4c976
commit b4eb3cc125
No known key found for this signature in database
GPG key ID: 36A40C83B0D6EF9E
2 changed files with 7 additions and 5 deletions

View file

@ -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

View file

@ -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: