Changes between Version 4 and Version 5 of Ticket #70420, comment 9


Ignore:
Timestamp:
Aug 8, 2024, 12:32:42 AM (6 weeks ago)
Author:
wryfi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #70420, comment 9

    v4 v5  
    1201201. There is no facility to manage which version of lua is used as the system default.
    1211211. Uninstalling the `lua` port will break `luarocks` and potentially other lua ports, even though they could use a different version of lua.
    122 1. `neovim` depends on `lua51-lpeg`, which depends on `lua-luarocks`, which depends on `lua` and `lua53-luarocks`, guaranteeing that lua 5.3 will be installed when trying to install neovim.
     1221. `neovim` depends on `lua51-lpeg`, which depends on `lua-luarocks`, which depends on `lua` and `lua53-luarocks`, guaranteeing that `lua53` will be installed when trying to install neovim, even though neither `lua51-lpeg` nor `neovim` wants anything to do with lua 5.3.
    1231231. Building `neovim` is breaking because it links against the `lua.h` provided by the `lua` port (currently 5.3), which is incompatible with neovim and luajit (not for any reasons having to do with `luarocks`).
    1241241. `luarocks` always runs against the version of lua installed by the `lua` port, because its shebang is `/opt/local/bin/lua`, which is (currently) lua 5.3 by design of the `lua` port.