--- emulators/yuzu/files/patch-libusb 2021-06-30 15:44:17.417073000 -0400 +++ emulators/yuzu/files/patch-libusb 2021-06-30 14:59:43.000000000 -0400 @@ -0,0 +1,22 @@ +--- CMakeLists.txt.orig 2021-06-28 18:51:49 UTC ++++ CMakeLists.txt +@@ -423,11 +423,15 @@ endif() + + # Ensure libusb is properly configured (based on dolphin libusb include) + if(NOT APPLE AND NOT YUZU_USE_BUNDLED_LIBUSB) +- include(FindPkgConfig) +- if (PKG_CONFIG_FOUND) +- pkg_check_modules(LIBUSB QUIET libusb-1.0>=1.0.24) +- else() ++ if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") + find_package(LibUSB) ++ else() ++ include(FindPkgConfig) ++ if (PKG_CONFIG_FOUND) ++ pkg_check_modules(LIBUSB QUIET libusb-1.0>=1.0.24) ++ else() ++ find_package(LibUSB) ++ endif() + endif() + + if (LIBUSB_FOUND)