On Sun, Sep 9, 2012 at 6:28 AM, Tomek CEDRO <tomek.ce...@gmail.com> wrote: > Hey, I have just reported port update for devel/openocd 0.5.0 -> 0.6.0 :-) > > http://www.freebsd.org/cgi/query-pr.cgi?pr=171477 > > All FreeBSD users are welcome for testing, especially new FTDI/MPSSE > framework that use brand new USB API (FreeBSD now supports and use > libusb-1.0 API by default). > > There was one small glitch with src/jtag/drivers/mpsse.c - #include > <libusb-1.0/libusb.h> needs to be replaced with #include <libusb.h> to > build properly, I have fixed that with a port patch for now, but we > need to wrap this with some ifdef :-) >
The following patch what you want but it is not accepted. http://openocd.zylin.com/#/c/491/ As Peter Stuge mentioned in the comments, you can always manually specify CFLAGS and LDFLAGS to make configure find libusb-1.0 so that the patch is not necessary. FreeBSD does not provide libusb.pc and libusb-1.0.pc file for libusb-0.1 and libusb-1.0, which is part of the problem. Ref: http://libusb.6.n5.nabble.com/Tips-to-use-FreeBSD-libusb-wrapper-td5689253.html -- Xiaofan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel