[Bug 256912] emulators/yuzu-qt5: build fails when pkgconf is present
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Jun 2021 19:56:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256912 Bug ID: 256912 Summary: emulators/yuzu-qt5: build fails when pkgconf is present Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jbeich@FreeBSD.org Reporter: jkim@FreeBSD.org Flags: maintainer-feedback?(jbeich@FreeBSD.org) Assignee: jbeich@FreeBSD.org Created attachment 226141 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226141&action=edit Do not use pkgconf to find libusb for FreeBSD CMake fails to find libusb when pkgconf exists. ... -- Found PkgConfig: /usr/local/bin/pkg-config (found version "1.7.4") CMake Warning at CMakeLists.txt:440 (message): libusb not found, falling back to externals ... CMake Error at externals/libusb/CMakeLists.txt:109 (add_library): Cannot find source file: libusb/libusb/core.c Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .ispc CMake Error at externals/libusb/CMakeLists.txt:109 (add_library): No SOURCES given to target: usb ... The attached patch let us bypass the pkgconf test and successfully find the libusb from the base. ... -- Checking for module 'libusb-1.0' -- Found libusb-1.0, version 1.0.13 -- Found libusb-1.0: /usr/include, /usr/lib/libusb.so ... -- You are receiving this mail because: You are the assignee for the bug.