[Bug 277688] devel/openocd: libusb not found

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 14 Mar 2024 11:58:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277688

            Bug ID: 277688
           Summary: devel/openocd: libusb not found
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbo@FreeBSD.org
          Reporter: erkki.moorits@mail.ee
          Assignee: jbo@FreeBSD.org
             Flags: maintainer-feedback?(jbo@FreeBSD.org)

Regression in Makefile: OpenOCD does no find USB connected Segger Flasher for
ARM.

In commit 70c2b83232415954356803e286ea2263f5e98c8d (2024-02-27 18:31:13) has
been removed CONFIGURE_ENV variable. This variable allows to build OpenOCD with
older libusb: FreeBSD have libusb 1.0.13, but minimum required is 1.0.16.

Commit line that removed libusb support:
-CONFIGURE_ENV+=        libusb_CFLAGS=" " libusb_LIBS="-lusb"

Bug report where was introduced CONFIGURE_ENV:
Bug 256491 - devel/openocd: Update to 0.11.0, enable USB support for J-Link

-- 
You are receiving this mail because:
You are the assignee for the bug.