ports/games/0ad/files/patch-build_premake_extern__libs5.lua
Guido Falsi a95cde2a7a games/0ad: Update to 0.27.0
- Remove upstreamed patches
- This version allows using vanilla spidermonkey provided from
  system

This update disables "GPU skinning" by default because it causes
crashes. This is being investigated upstream [1]

[1] https://gitea.wildfiregames.com/0ad/0ad/issues/7598
2025-02-06 08:51:44 +01:00

15 lines
535 B
Lua

--- build/premake/extern_libs5.lua.orig 2025-01-28 19:57:28 UTC
+++ build/premake/extern_libs5.lua
@@ -232,9 +232,9 @@ extern_lib_defs = {
-- TODO: This actually applies to most libraries we use on BSDs, make this a global setting.
if os.istarget("bsd") then
if externalincludedirs then
- externalincludedirs { "/usr/local/include" }
+ externalincludedirs { "%%LOCALBASE%%/include" }
else
- sysincludedirs { "/usr/local/include" }
+ sysincludedirs { "%%LOCALBASE%%/include" }
end
end
end,