Opened 17 months ago

Last modified 17 months ago

#67289 closed defect

lua-luarocks explicitly does not install `luarocks` command ? — at Version 1

Reported by: jrjsmrtn Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: lua-luarocks

Description (last modified by jrjsmrtn)

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 fails:

Selecting 'lua51-luarocks' for 'luarocks' failed: The specified version 'lua51-luarocks' is not valid.

Is there a reason for that ? Is there another way of installing Lua rocks ?

Change History (1)

comment:1 Changed 17 months ago by jrjsmrtn

Description: modified (diff)
Note: See TracTickets for help on using tickets.