<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/ae48f72894ab3fe9210d2483f110bf9af435a79e">https://github.com/macports/macports-ports/commit/ae48f72894ab3fe9210d2483f110bf9af435a79e</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 ae48f72894a luarocks-1.0: fix bindir
</span>ae48f72894a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ae48f72894ab3fe9210d2483f110bf9af435a79e
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Fri May 28 19:36:03 2021 +0000
<span style='display:block; white-space:pre;color:#404040;'> luarocks-1.0: fix bindir
</span>---
_resources/port1.0/group/luarocks-1.0.tcl | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/luarocks-1.0.tcl b/_resources/port1.0/group/luarocks-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 66389c09697..caf59a6d07c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/luarocks-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/luarocks-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -69,9 +69,6 @@ proc luarocks_set_branch {option action args} {
</span> if {${luarocks.branch} eq ${luarocks.latest_branch}} {
set luarocks.suffix ""
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# if {${luarocks.branch} eq ${luarocks.latest_branch}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# set luarocks.branch ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# }
</span> }
set luarocks.module ""
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -127,6 +124,9 @@ proc luarocks.setup {module vers {type "src.rock"} {docs {}} {source "custom"} {
</span> subport lua${suffix}-${rootname} {
luarocks.branch ${v}
depends_lib port:lua${luarocks.suffix}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${luarocks.branch} eq "5.1"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-replace port:lua${luarocks.suffix} path:lib/libluajit-5.1.2.dylib:luajit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
}
if {$subport eq $name} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -211,6 +211,7 @@ proc luarocks.setup {module vers {type "src.rock"} {docs {}} {source "custom"} {
</span> if {[file isdirectory $binDir]} {
foreach file [readdir $binDir] {
move [file join $binDir $file] ${destroot}${luarocks.bindir}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${destroot}||g" ${destroot}${luarocks.bindir}/${file}
</span> }
}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -240,6 +241,7 @@ proc luarocks.setup {module vers {type "src.rock"} {docs {}} {source "custom"} {
</span> if {[file isdirectory $binDir]} {
foreach file [readdir $binDir] {
move [file join $binDir $file] ${destroot}${luarocks.bindir}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${destroot}||g" ${destroot}${luarocks.bindir}/${file}
</span> }
}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -270,6 +272,7 @@ proc luarocks.setup {module vers {type "src.rock"} {docs {}} {source "custom"} {
</span> if {[file isdirectory $binDir]} {
foreach file [readdir $binDir] {
move [file join $binDir $file] ${destroot}${luarocks.bindir}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${destroot}||g" ${destroot}${luarocks.bindir}/${file}
</span> }
}
}
</pre><pre style='margin:0'>
</pre>