aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2023-01-09 13:35:57 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2023-01-09 13:55:59 +0000
commitb4eb3cc1255ff5de7344bf2ff0c15eae214be4e9 (patch)
tree880d49f25ed09cbf65cf30e2c57fcaffb21d4f41
parent4128f4c97631e8ee71369ee11ab11871b7bd204c (diff)
downloadports-b4eb3cc1255ff5de7344bf2ff0c15eae214be4e9.tar.gz
ports-b4eb3cc1255ff5de7344bf2ff0c15eae214be4e9.zip
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
-rw-r--r--editors/emacs-devel/Makefile3
-rw-r--r--editors/emacs-devel/files/pkg-message.in9
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: