Files
ports/devel/lua-language-server/files/patch-3rd_luamake_scripts_globals.lua
T
Adam Weinberger ce69f0e90d devel/lua-language-server: Enable verbose builds and support ccache
There are two build phases: first the port builds luamake, and then
it uses luamake to build LuaLS. Verbosity (i.e. showing build
commands) and building with ccache is enabled for both phases.

Reviewed by:	Dave Marker
Approved by:	Dave Marker  (maintianer)
Differential Revision:	https://reviews.freebsd.org/D56566
2026-04-25 15:29:01 -04:00

13 lines
433 B
Lua

--- 3rd/luamake/scripts/globals.lua.orig 2026-04-24 13:47:30 UTC
+++ 3rd/luamake/scripts/globals.lua
@@ -8,6 +8,9 @@ globals.mode = globals.mode or "release"
globals.mode = globals.mode or "release"
+globals.ninja = globals.ninja or "%NINJA_CMD%"
+globals.cc = "%CC%"
+
globals.hostos = globals.hostos or require "bee.platform".os
globals.hostshell = globals.hostshell or (function ()
if globals.hostos == "windows" then