Install libusbhid, and use it instead of libusb.
MFC after: 6 days
This commit is contained in:
parent
7793e75522
commit
7b8cfc5217
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93351
@ -47,7 +47,7 @@
|
||||
.ds doc-str-Lb-libpam PAM Library (libpam, \-lpam)
|
||||
.ds doc-str-Lb-librpcsvc RPC Service Library (librpcsvc, \-lrpcsvc)
|
||||
.ds doc-str-Lb-libskey S/Key Password Control Table Access Library (libskey, \-lskey)
|
||||
.ds doc-str-Lb-libusb USB HID access routines library (libusb, \-lusb)
|
||||
.ds doc-str-Lb-libusbhid USB HID access routines library (libusbhid, \-lusbhid)
|
||||
.ds doc-str-Lb-libvgl Video Graphics Library (libvgl, \-lvgl)
|
||||
.
|
||||
.\" Default .Os value
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
MAINTAINER= n_hibma@FreeBSD.ORG
|
||||
|
||||
LIB= usb
|
||||
LIB= usbhid
|
||||
MAN= usbhid.3
|
||||
|
||||
SHLIB_MAJOR= 0
|
||||
|
@ -45,7 +45,7 @@
|
||||
.Nm hid_set_data
|
||||
.Nd USB HID access routines
|
||||
.Sh LIBRARY
|
||||
.Lb libusb
|
||||
.Lb libusbhid
|
||||
.Sh SYNOPSIS
|
||||
.In libusbhid.h
|
||||
.Ft report_desc_t
|
||||
|
@ -106,7 +106,7 @@ LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a
|
||||
LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
|
||||
LIBTINFO?= "don't use LIBTINFO, use LIBNCURSES"
|
||||
LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a
|
||||
LIBUSB?= ${DESTDIR}${LIBDIR}/libusb.a
|
||||
LIBUSBHID?= ${DESTDIR}${LIBDIR}/libusbhid.a
|
||||
LIBVGL?= ${DESTDIR}${LIBDIR}/libvgl.a
|
||||
LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a
|
||||
LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a
|
||||
|
@ -6,8 +6,8 @@
|
||||
PROG= usbhidctl
|
||||
SRCS= usbhid.c
|
||||
|
||||
LDADD+= -lusb
|
||||
DPADD+= ${LIBUSB}
|
||||
LDADD+= -lusbhid
|
||||
DPADD+= ${LIBUSBHID}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include <bsd.subdir.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user