<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ba16d703b826b1b85a47654e59913fd2b454fae6">https://github.com/macports/macports-ports/commit/ba16d703b826b1b85a47654e59913fd2b454fae6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ba16d703b826b1b85a47654e59913fd2b454fae6
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Mar 11 02:14:38 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> lua-luarocks: update version 3.7.0->3.9.2
</span>---
lua/lua-luarocks/Portfile | 10 ++++-----
.../files/patch-src_luarocks_core_cfg.diff | 24 +++++++++++++---------
2 files changed, 19 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lua/lua-luarocks/Portfile b/lua/lua-luarocks/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 14fbc90b373..d4c56039436 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lua/lua-luarocks/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lua/lua-luarocks/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,9 +4,9 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup select 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup luarocks luarocks 3.7.0 v
</span> name lua-luarocks
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup luarocks luarocks 3.9.2 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> license MIT
categories lua devel
maintainers {l2dy @l2dy} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,9 +23,9 @@ long_description \
</span>
homepage https://luarocks.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 b978643a6b43668fb219240edfc5be9052192a1e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 70015144ed97665dcee7560c96c084ad0586d742417485a9d3fc1e49fbe97559 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 5386555
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 4ddf475e1934d6c6de351b91d7787750b84afa9a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1097a4c8394454b8777823a72e44e88e1bd8015f5022ac8101af6333a315864e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 5350213
</span>
options lua.branch
option_proc lua.branch lua_set_branch
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lua/lua-luarocks/files/patch-src_luarocks_core_cfg.diff b/lua/lua-luarocks/files/patch-src_luarocks_core_cfg.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index ec4ebcc23d3..b61e8a117fd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lua/lua-luarocks/files/patch-src_luarocks_core_cfg.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lua/lua-luarocks/files/patch-src_luarocks_core_cfg.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,16 +1,20 @@
</span> --- src/luarocks/core/cfg.lua.orig 2021-04-13 21:53:35.000000000 +0000
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/luarocks/core/cfg.lua 2021-05-28 14:15:08.000000000 +0000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -349,13 +349,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/luarocks/core/cfg.lua 2021-05-28 14:15:08.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -365,7 +365,7 @@
</span> defaults.static_lib_extension = "a"
defaults.external_lib_extension = "so"
defaults.obj_extension = "o"
- defaults.external_deps_dirs = { "/usr/local", "/usr", "/" }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- defaults.variables.CFLAGS = "-O2"
</span> + defaults.external_deps_dirs = { "%PREFIX%" }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ defaults.variables.CFLAGS = os.getenv("CFLAGS") or "-O2"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ defaults.variables.CFLAGS = os.getenv("CFLAGS") or "-O2"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -- we pass -fPIC via CFLAGS because of old Makefile-based Lua projects
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -377,10 +377,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ defaults.variables.LDFLAGS = os.getenv("LDFLAGS")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> defaults.cmake_generator = "Unix Makefiles"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- defaults.variables.CC = "gcc"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- defaults.variables.LD = "gcc"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- defaults.variables.CC = os.getenv("CC") or "gcc"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- defaults.variables.LD = os.getenv("CC") or "gcc"
</span> + defaults.variables.CC = os.getenv("CC") or "%CC%"
+ defaults.variables.LD = defaults.variables.CC
defaults.gcc_rpath = true
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,8 +23,8 @@
</span> defaults.variables.TEST = "test"
defaults.external_deps_patterns = {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -435,7 +435,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- defaults.variables.MAKE = "make"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -465,7 +465,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ defaults.variables.MAKE = os.getenv("MAKE") or "make"
</span> defaults.external_lib_extension = "dylib"
defaults.arch = "macosx-"..target_cpu
- defaults.variables.LIBFLAG = "-bundle -undefined dynamic_lookup -all_load"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,7 +32,7 @@
</span> local version = util.popen_read("sw_vers -productVersion")
if not (version:match("^%d+%.%d+%.%d+$") or version:match("^%d+%.%d+$")) then
version = "10.3"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -448,8 +448,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -480,8 +480,8 @@
</span> else
defaults.gcc_rpath = false
end
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,5 +41,5 @@
</span> + defaults.variables.CC = "env MACOSX_DEPLOYMENT_TARGET="..tostring(version).." "..defaults.variables.CC
+ defaults.variables.LD = defaults.variables.CC
defaults.web_browser = "open"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- end
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ -- XCode SDK
</span></pre><pre style='margin:0'>
</pre>