summaryrefslogtreecommitdiff
path: root/devel/lua-language-server/files/patch-3rd_bee.lua_compile_common.lua
blob: 7a2493f85406d8ea268e95676e993308d73ec1b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- 3rd/bee.lua/compile/common.lua.orig	2025-12-03 14:18:20 UTC
+++ 3rd/bee.lua/compile/common.lua
@@ -207,7 +207,7 @@ lm:source_set "source_bee" {
         }
     },
     freebsd = {
-        sysincludes = "/usr/local/include",
+        sysincludes = "%LOCALBASE%/include",
         sources = need {
             "bsd",
             "posix",
@@ -291,8 +291,8 @@ lm:source_set "source_bee" {
         ldflags = "-pthread"
     },
     freebsd = {
-        links = "inotify",
-        linkdirs = "/usr/local/lib",
+        %INOTIFY%
+        linkdirs = "%LOCALBASE%/lib",
         ldflags = "-pthread"
     },
     openbsd = {