[MacPorts] #67289: lua-luarocks explicitly does not install `luarocks` command ?
MacPorts
noreply at macports.org
Sat Apr 22 20:34:33 UTC 2023
#67289: lua-luarocks explicitly does not install `luarocks` command ?
----------------------+--------------------------
Reporter: jrjsmrtn | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: lua-luarocks
----------------------+--------------------------
The `lua-luarocks` Portfile explicitly prevents the installation of
`luarocks`, `luarocks-admin` commands in its `post-destroot` step:
{{{
foreach branch ${lua.branches} {
subport lua[join [split ${branch} .] ""]-luarocks {
lua.version ${branch}
post-destroot {
# only install the Lua module files
foreach dir {bin etc} {
delete ${destroot}${prefix}/${dir}
}
}
}}}
Moreover, performing a `sudo port select --set luarocks lua51-luarocks`
creates invalid symbolic links.
Is there a reason for that ? Is there another way of installing Lua rocks
?
--
Ticket URL: <https://trac.macports.org/ticket/67289>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list