| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/www/onlyoffice-documentserver/files/ |
Upload File : |
--- build_tools/scripts/config.py.orig 2022-04-29 20:25:52 UTC
+++ build_tools/scripts/config.py
@@ -26,6 +26,7 @@ def parse():
global platforms
platforms = ["win_64", "win_32", "win_64_xp", "win_32_xp",
"linux_64", "linux_32", "linux_arm64",
+ "freebsd_64",
"mac_64", "mac_arm64",
"ios",
"android_arm64_v8a", "android_armv7", "android_x86", "android_x86_64"]
@@ -39,6 +40,8 @@ def parse():
options["platform"] += " win_64 win_32"
elif ("linux" == host_platform):
options["platform"] += " linux_64 linux_32"
+ elif ("freebsd" == host_platform):
+ options["platform"] += " freebsd_64"
else:
options["platform"] += " mac_64"
@@ -50,6 +53,8 @@ def parse():
options["platform"] += (" win_" + bits)
elif ("linux" == host_platform):
options["platform"] += (" linux_" + bits)
+ elif ("freebsd" == host_platform):
+ options["platform"] += (" freebsd_" + bits)
else:
options["platform"] += (" mac_" + bits)
@@ -112,6 +117,9 @@ def check_compiler(platform):
if (0 == platform.find("win")):
compiler["compiler"] = "msvc" + options["vs-version"]
compiler["compiler_64"] = "msvc" + options["vs-version"] + "_64"
+ elif (0 == platform.find("freebsd")):
+ compiler["compiler"] = "clang"
+ compiler["compiler_64"] = "clang_64"
elif (0 == platform.find("linux")):
compiler["compiler"] = "gcc"
compiler["compiler_64"] = "gcc_64"