Created attachment 221198 [details]
PATCH: configure.ac patch for libusb-2.0
As documented in a discussion upstream at https://github.com/debrouxl/tilibs/issues/49 libusb support in comms/libticables2 seems to be broken:
(tilp:92109): ticables-WARNING **: 16:58:22.966: usb_bulk_read (Unknown error).
Complete log with system information is at: https://gist.githubusercontent.com/herrhotzenplotz/3ed5f0cb4df98f299feab8484c2d3972/raw/070f5d78fc5dda6156ef50799b684fff13d22837/gistfile1.txt
I was walking in circles for a few hours but managed to build from Git; initially to debug but it then already worked.
What works is:
Link against libusb-2.0 using the autotools approach. CMake is totally broken and the upstream people appear not to be concerned.
The git diff is upstream, but I shall also attach it to this issue.
Also, the port appears to be fetching the tarballs from Sourceforge, which only provides outdated versions. Moving over to the GitHub sources would be necessary in order to update the port.