aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/0ad/files/patch-build-premake-premake4.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/0ad/files/patch-build-premake-premake4.lua b/games/0ad/files/patch-build-premake-premake4.lua
index 22c3eb72e81b..2433a8e799c9 100644
--- a/games/0ad/files/patch-build-premake-premake4.lua
+++ b/games/0ad/files/patch-build-premake-premake4.lua
@@ -23,12 +23,12 @@
includedirs {
- "/usr/X11R6/include/X11",
- "/usr/X11R6/include",
-+ "/usr/local/X11",
-+ "/usr/local/include",
++ "%%LOCALBASE%%/X11",
++ "%%LOCALBASE%%/include",
"/usr/include/X11"
}
- libdirs { "/usr/X11R6/lib" }
-+ libdirs { "/usr/local/lib" }
++ libdirs { "%%LOCALBASE%%/lib" }
if _OPTIONS["bindir"] then
defines { "INSTALLED_BINDIR=" .. _OPTIONS["bindir"] }