<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2f0f0e51deccdf0a7dce6747e15f0ca0a3095104">https://github.com/macports/macports-ports/commit/2f0f0e51deccdf0a7dce6747e15f0ca0a3095104</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 2f0f0e51dec luajit: update to 2.1.1699524327 (#21322)
</span>2f0f0e51dec is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2f0f0e51deccdf0a7dce6747e15f0ca0a3095104
</span>Author: Chris Rawnsley <chris@puny.agency>
AuthorDate: Sun Nov 12 17:17:32 2023 +0000
<span style='display:block; white-space:pre;color:#404040;'> luajit: update to 2.1.1699524327 (#21322)
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Adopt the rolling release format.
</span>---
lang/luajit/Portfile | 50 ++++++++++++++++++++++++++++----------------------
1 file changed, 28 insertions(+), 22 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/luajit/Portfile b/lang/luajit/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9ea1a850bd2..f2d64eb59d5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/luajit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/luajit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,19 +5,22 @@ PortGroup compiler_blacklist_versions 1.0
</span> PortGroup xcode_workaround 1.0
PortGroup github 1.0
PortGroup legacysupport 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Using the v2.1 branch for Apple Silicon support
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Revert to master_sites on new release, see https://github.com/LuaJIT/LuaJIT/issues/563
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup LuaJIT LuaJIT c4fe76d50cda24f3529604448f80ff14754599dd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.1.0-beta3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 ec1dbe9fb0909d3b45aa9059692f0846254abdef \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 9ff3bea98453e4ac5e1d15c26cbc105287ac7b8f15663f6ecde6a308e4842936 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1071348
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set branch 2.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set version_date 2023-11-09T10:05:27Z
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup LuaJIT LuaJIT 69bbbf77363ceb00ad2653a7729a5c9e8316e61f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 2949a8edb3d43d381c6483d6cf7fa5e49d8930e7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 42b3a298d8b8a24a3d484797cf58acda32ab5374e120f0de184c804505ccc1ac \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1078553
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set version_date_s [clock scan "${version_date}" -format {%Y-%m-%dT%H:%M:%SZ}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version ${branch}.${version_date_s}
</span>
name luajit
categories lang
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span> maintainers nomaintainer
description a Just-In-Time Compiler for Lua
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,31 +34,34 @@ patchfiles powerpc.patch
</span>
post-patch {
reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/etc/luajit.pc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Remove -march=i686 from CCOPT_x86
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s|-march=[a-z0-9_]+||g} ${worksrcpath}/src/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The build process normally expects git and a .git directory to establish
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the version but it includes a fallback for a `.relver` file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set relver [open "${worksrcpath}/.relver" w 0644]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${relver} "${version_date_s}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close ${relver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
compiler.blacklist {clang < 700} *gcc-4.2 macports-clang-3.3 macports-clang-3.4
# changes to compiler flags must be made before `CFLAGS=...`
xcode_workaround.type append_to_compiler_flags
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target amalg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args-append CC="${configure.cc}" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags] -DLUAJIT_ENABLE_LUA52COMPAT" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDFLAGS="${configure.ldflags} [get_canonical_archflags]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PREFIX="${prefix}" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Q=""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cflags-append -DLUAJIT_ENABLE_LUA52COMPAT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+makefile.override CC CFLAGS LDFLAGS PREFIX
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PREFIX="${prefix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target amalg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append Q=
</span>
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/bin/luajit-${version} ${destroot}${prefix}/bin/luajit
</span> xinstall -m 755 -d ${destroot}${prefix}/share/doc
copy ${worksrcpath}/doc/ ${destroot}${prefix}/share/doc/${name}
}
livecheck.type regex
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${master_sites}.html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex {LuaJIT-(\d+(?:\.\d+)*(?:-beta\d+)?).tar.gz}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url ${github.homepage}/commits/v${branch}.atom
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.version ${version_date}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex {<updated>([:TZ0-9-]+)</updated>}
</span></pre><pre style='margin:0'>
</pre>