diff options
Diffstat (limited to 'games/0ad/files/patch-build_premake_premake5.lua')
-rw-r--r-- | games/0ad/files/patch-build_premake_premake5.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/games/0ad/files/patch-build_premake_premake5.lua b/games/0ad/files/patch-build_premake_premake5.lua new file mode 100644 index 000000000000..edd965ab45dd --- /dev/null +++ b/games/0ad/files/patch-build_premake_premake5.lua @@ -0,0 +1,17 @@ +--- build/premake/premake5.lua.orig 2018-04-22 18:14:45 UTC ++++ build/premake/premake5.lua +@@ -376,11 +376,11 @@ function project_add_x11_dirs() + sysincludedirs { + "/usr/X11R6/include/X11", + "/usr/X11R6/include", +- "/usr/local/include/X11", +- "/usr/local/include", ++ "%%LOCALBASE%%/include/X11", ++ "%%LOCALBASE%%/include", + "/usr/include/X11" + } +- libdirs { "/usr/X11R6/lib" } ++ libdirs { "%%LOCALBASE%%/lib" } + end + end + |