mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 15:20:32 -04:00
Finally, after a long wait, an electron port for FreeBSD lands in the portstree. A huge thanks to everyone contributed to this huge effort and to the maintainer that is willing to take the burden of the maintainership!
15 lines
667 B
Text
15 lines
667 B
Text
--- build/config/sysroot.gni.orig 2019-03-15 06:36:56 UTC
|
|
+++ build/config/sysroot.gni
|
|
@@ -15,9 +15,10 @@ declare_args() {
|
|
# The absolute path to directory containing linux sysroot images
|
|
target_sysroot_dir = "//build/linux"
|
|
|
|
- use_sysroot = current_cpu == "x86" || current_cpu == "x64" ||
|
|
+ use_sysroot = !is_bsd && (
|
|
+ current_cpu == "x86" || current_cpu == "x64" ||
|
|
current_cpu == "arm" || current_cpu == "arm64" ||
|
|
- current_cpu == "mipsel" || current_cpu == "mips64el"
|
|
+ current_cpu == "mipsel" || current_cpu == "mips64el")
|
|
}
|
|
|
|
if (current_os == target_os && current_cpu == target_cpu &&
|