mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 12:10:31 -04:00
ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time. WWW: https://www.onlyoffice.com/ Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D33923
38 lines
1.4 KiB
Python
38 lines
1.4 KiB
Python
--- build_tools/scripts/config.py.orig 2021-12-08 10:18:20 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",
|
|
+ "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)
|
|
|
|
@@ -90,6 +95,9 @@ def check_compiler(platform):
|
|
if (0 == platform.find("win")):
|
|
compiler["compiler"] = "msvc2015"
|
|
compiler["compiler_64"] = "msvc2015_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"
|