--- src/core/CMakeLists.txt.orig	2023-08-16 19:50:41 UTC
+++ src/core/CMakeLists.txt
@@ -20,7 +20,7 @@ add_subdirectory(tools)
 #   TOOLCHAIN SETUP
 ##
 
-if(LINUX)
+if(LINUX OR FREEBSD)
     setup_toolchains()
 endif()
 
@@ -405,7 +405,7 @@ foreach(arch ${archs})
             CONDITION QT_FEATURE_webengine_embedded_build
         )
 
-        if(LINUX)
+        if(LINUX OR FREEBSD)
             list(APPEND gnArgArg
                 use_gtk=false # GTK toolkit bindings
                 use_qt=false # Qt5 toolkit bindings
@@ -415,7 +415,7 @@ foreach(arch ${archs})
                 use_bundled_fontconfig=false
                 use_glib=false
                 use_bluez=false
-                use_udev=true
+                use_udev=false
                 is_cfi=false
                 use_ozone=true
                 ozone_auto_platforms=false
@@ -474,6 +474,10 @@ foreach(arch ${archs})
             extend_gn_list(gnArgArg
                 ARGS use_pulseaudio
                 CONDITION QT_FEATURE_webengine_system_pulseaudio
+            )
+            extend_gn_list(gnArgArg
+                ARGS use_sndio
+                CONDITION QT_FEATURE_webengine_system_sndio
             )
             extend_gn_list(gnArgArg
                 ARGS use_vaapi
