<pre style='margin:0'>
Mohamed Akram (mohd-akram) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5861d94f0dcc7e7a73b1b0e1ede8042527807ee9">https://github.com/macports/macports-ports/commit/5861d94f0dcc7e7a73b1b0e1ede8042527807ee9</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 5861d94f0dc emscripten: update to 3.1.66
</span>5861d94f0dc is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5861d94f0dcc7e7a73b1b0e1ede8042527807ee9
</span>Author: Mohamed Akram <makr@macports.org>
AuthorDate: Sun Sep 15 13:12:17 2024 +0400
<span style='display:block; white-space:pre;color:#404040;'> emscripten: update to 3.1.66
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/70560
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/70561
</span>---
lang/emscripten/Portfile | 32 +++++++++++++++++---------------
1 file changed, 17 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/emscripten/Portfile b/lang/emscripten/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 75f83a05b01..62058511924 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/emscripten/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/emscripten/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,8 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup java 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup emscripten-core emscripten 3.1.31
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup emscripten-core emscripten 3.1.66
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span> revision 0
categories lang devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,11 +15,11 @@ homepage https://emscripten.org
</span> description open source compiler toolchain to WebAssembly
long_description Emscripten is a complete Open Source compiler toolchain to WebAssembly.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 8a8d8f454e1a53f78529e0f43e72804f47cd993b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 da1c1dade4c6b561f0482805f035cf9964f39493d8582cea5d1a26a23acca0ef \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 28649584
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 08c07f66c34ff4bfdbc527a54a781a3973cda900 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1b9f26c29c64dcab019d6825adeb1f6c5b99aa134898b38b09c0af894479030b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 29627350
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set python_branch 3.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_branch 3.12
</span> configure.python ${prefix}/bin/python${python_branch}
set python_version [string map {. {}} ${python_branch}]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,10 +34,11 @@ if {${subport} eq ${name}} {
</span> depends_build-append port:git \
path:bin/cmake:cmake
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # clang-devel is being used since emscripten requires Clang >= 16
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set llvm_version 18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_run-append port:binaryen \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:clang-devel \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- bin:node:nodejs18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:clang-${llvm_version} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bin:node:nodejs22
</span>
destroot.env-append PYTHON=${configure.python} \
PATH=${frameworks_dir}/Python.framework/Versions/${python_branch}/bin:$env(PATH)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,13 +47,13 @@ if {${subport} eq ${name}} {
</span> # replicate
# cd ${worksrcpath} && ./emcc --generate-config
# edit resulting .emscripten
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 0644 ${filespath}/emscripten ${worksrcpath}/.emscripten
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|__MACPORTS_LLVM_ROOT__|${prefix}/libexec/llvm-devel/bin|g" ${worksrcpath}/.emscripten
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|__MACPORTS_BINARYEN_ROOT__|${prefix}|g" ${worksrcpath}/.emscripten
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|__MACPORTS_NODE_JS__|${prefix}/bin/node|g" ${worksrcpath}/.emscripten
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|__MACPORTS_JAVA__|${java.home}/bin/java|g" ${worksrcpath}/.emscripten
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${filespath}/emscripten ${worksrcpath}/.emscripten
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|__MACPORTS_LLVM_ROOT__|${prefix}/libexec/llvm-${llvm_version}/bin|g" ${worksrcpath}/.emscripten
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|__MACPORTS_BINARYEN_ROOT__|${prefix}|g" ${worksrcpath}/.emscripten
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|__MACPORTS_NODE_JS__|${prefix}/bin/node|g" ${worksrcpath}/.emscripten
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|__MACPORTS_JAVA__|${java.home}/bin/java|g" ${worksrcpath}/.emscripten
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "${configure.python} tools/create_entry_points.py"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${configure.python} tools/maint/create_entry_points.py"
</span> }
build {}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -63,7 +65,7 @@ if {${subport} eq ${name}} {
</span>
destroot.destdir DESTDIR=${install_loc}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # see https://docs.npmjs.com/cli/v7/commands/npm-install
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://docs.npmjs.com/cli/commands/npm-install
</span> destroot.env-append NODE_ENV=production
post-destroot {
</pre><pre style='margin:0'>
</pre>