aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-base_test_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-base_test_BUILD.gn')
-rw-r--r--devel/electron13/files/patch-base_test_BUILD.gn15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-base_test_BUILD.gn b/devel/electron13/files/patch-base_test_BUILD.gn
new file mode 100644
index 000000000000..77bae6d08070
--- /dev/null
+++ b/devel/electron13/files/patch-base_test_BUILD.gn
@@ -0,0 +1,15 @@
+--- base/test/BUILD.gn.orig 2021-07-15 19:13:29 UTC
++++ base/test/BUILD.gn
+@@ -423,7 +423,11 @@ if (is_linux || is_chromeos) {
+
+ copy("fonts_conf") {
+ sources = [ "fonts.conf" ]
+- outputs = [ "${root_build_dir}/etc/fonts/{{source_file_part}}" ]
++ if (is_bsd) {
++ outputs = [ "${root_build_dir}/usr/local/etc/fonts/{{source_file_part}}" ]
++ } else {
++ outputs = [ "${root_build_dir}/etc/fonts/{{source_file_part}}" ]
++ }
+ }
+
+ if (current_toolchain == host_toolchain) {