<pre style='margin:0'>
Landon Fuller (landonf) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/84a26d1e7d41adbb07ba9aa0cce5a1dbe4827c2c">https://github.com/macports/macports-ports/commit/84a26d1e7d41adbb07ba9aa0cce5a1dbe4827c2c</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 84a26d1e7d4 emacs(-app)-devel: switch +nativecomp to gcc11 and enable by default
</span>84a26d1e7d4 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 84a26d1e7d41adbb07ba9aa0cce5a1dbe4827c2c
</span>Author: Landon Fuller <landonf@macports.org>
AuthorDate: Fri May 21 10:00:15 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> emacs(-app)-devel: switch +nativecomp to gcc11 and enable by default
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Emacs' native compilation support was merged into master, and gcc11
</span><span style='display:block; white-space:pre;color:#404040;'> works on all of our supported platforms, so let's enable it by default.
</span>---
editors/emacs/Portfile | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/editors/emacs/Portfile b/editors/emacs/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5c1a85f582f..23ebacb2cb4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/editors/emacs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/editors/emacs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -95,14 +95,10 @@ if {$subport eq "emacs-devel" || $subport eq "emacs-app-devel"} {
</span> PortGroup legacysupport 1.1
legacysupport.newest_darwin_requires_legacy 13
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # When bumping
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # - be sure to update git.branch for the nativecomp variant as well
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # - be sure to choose a date that exists for the native-comp branch as well
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # This should no longer be required after native-comp is merged into master
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # (expected in late April 2021)
</span> set date 2021-04-30
epoch 4
version [string map {- {}} ${date}]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span>
fetch.type git
git.url --shallow-since=${date}T00:00:00 https://github.com/emacs-mirror/emacs.git
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -120,17 +116,19 @@ if {$subport eq "emacs-devel" || $subport eq "emacs-app-devel"} {
</span> livecheck.type none
variant nativecomp description {Builds emacs with native compilation support} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gcc10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:gcc11
</span>
configure.args-append --with-native-compilation
<span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.cpath-prepend ${prefix}/include/gcc10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.cpath-prepend ${prefix}/include/gcc11
</span> compiler.library_path-prepend \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${prefix}/lib/gcc10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/lib/gcc11
</span>
build.args-append NATIVE_FULL_AOT=1 \
{BYTE_COMPILE_EXTRA_FLAGS='--eval "(setq comp-speed 2)"'}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +nativecomp
</span> } else {
livecheck.type regex
livecheck.url https://ftp.gnu.org/gnu/emacs/?C=M&O=D
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -262,7 +260,7 @@ if {$subport eq "emacs-app" || $subport eq "emacs-app-devel"} {
</span> configure.args-append --with-rsvg
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +rsvg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +rsvg
</span> }
if {$subport eq $name || $subport eq "emacs-devel"} {
</pre><pre style='margin:0'>
</pre>