[Bug 194752] libusb-0.1.pc should be libusb.pc for compatibility

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 06 Jun 2024 14:23:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194752

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
In fact we have:

lib/libusb/libusb-0.1.pc.in
lib/libusb/libusb-1.0.pc.in
lib/libusb/libusb-2.0.pc.in

These are identical except for the reported versions (0.1.0, 1.0.13, 2.0.0) and
are handled identically via lib/libusb/Makefile:

PCFILES=        libusb-0.1.pc libusb-1.0.pc libusb-2.0.pc
.for pcfile in ${PCFILES}
${pcfile}: ${pcfile}.in
        sed -e 's,@libdir@,${LIBDIR},g ; s,@sharedlibdir@,${SHLIBDIR},g ; \
                s,@includedir@,${INCLUDEDIR},g ;' ${.ALLSRC} > ${.TARGET}
.endfor

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