Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  7 Jan 2017 19:29:19 +0000 (UTC)
From:      jbeich@freebsd.org (Jan Beich)
To:        db@FreeBSD.org, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r430822 - in head/comms/gnuradio: . files
Message-ID:  <20170107192919.98A8D6CEE@freefall.freebsd.org>
In-Reply-To: <201701071906.v07J6XMS041338@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Diane Bruce <db@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170107192919.98A8D6CEE>