svn commit: r430822 - in head/comms/gnuradio: . files

Jan Beich jbeich at freebsd.org
Sat Jan 7 19:29:20 UTC 2017


Diane Bruce <db at FreeBSD.org> writes:

> Modified: head/comms/gnuradio/files/patch-cmake_Modules_FindUSB.cmake
> ==============================================================================
> --- head/comms/gnuradio/files/patch-cmake_Modules_FindUSB.cmake	Sat Jan  7 18:51:03 2017	(r430821)
> +++ head/comms/gnuradio/files/patch-cmake_Modules_FindUSB.cmake	Sat Jan  7 19:06:33 2017	(r430822)
> @@ -1,9 +1,60 @@
> ---- cmake/Modules/FindUSB.cmake.orig	2015-04-13 14:32:43 UTC
> +--- cmake/Modules/FindUSB.cmake.orig	2016-09-02 04:16:12 UTC
>  +++ cmake/Modules/FindUSB.cmake
> -@@ -23,6 +33,17 @@ else(LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRA
> +@@ -1,20 +1,32 @@
> + if(NOT LIBUSB_FOUND)
> +-  pkg_check_modules (LIBUSB_PKG libusb-1.0)
> +-  find_path(LIBUSB_INCLUDE_DIR NAMES libusb.h

Why do you need to restore the hack removed in r430669? If there was
something wrong with that commit I'd appreciate feedback as it may
affect more than one port.

$ uname -r
10.3-RELEASE

$ make clean all -C comms/gnuradio
[...]
-- Checking for module 'libusb-1.0'
--   Found libusb-1.0, version 1.0.9
-- Found libusb-1.0: /usr/include, /usr/lib/libusb.so
[...]
 0x00000001 (NEEDED)                     Shared library: [libusb.so.3]
[...]

$ pkg-config --cflags --libs libusb-1.0
-lusb


More information about the svn-ports-all mailing list