aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn
blob: 180446a881d86ed59b60ebd9d608d4818f51211e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                               
--- third_party/test_fonts/fontconfig/BUILD.gn.orig	2022-03-01 11:59:41 UTC
+++ third_party/test_fonts/fontconfig/BUILD.gn
@@ -26,7 +26,11 @@ if (is_linux || is_chromeos) {
 
   copy("fonts_conf") {
     sources = [ "fonts.conf" ]
-    outputs = [ "$root_out_dir/etc/fonts/{{source_file_part}}" ]
+    if (is_freebsd) {
+      outputs = [ "$root_out_dir/usr/local/etc/fonts/{{source_file_part}}" ]
+    } else {
+      outputs = [ "$root_out_dir/etc/fonts/{{source_file_part}}" ]
+    }
   }
 
   if (current_toolchain == host_toolchain) {