Fix build if world is built with NO_USB=yes.
PR: ports/82171 Submitted by: Bjoern Koenig <bkoenig at cs.tu-berlin.de>
This commit is contained in:
parent
e5ac873451
commit
02756866ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139610
1 changed files with 3 additions and 1 deletions
|
@ -71,8 +71,10 @@ CONFIGURE_ARGS+=--enable-video-opengl
|
|||
.if exists(/usr/include/libusbhid.h)
|
||||
CONFIGURE_ENV+= USB_LIBS=-lusbhid
|
||||
CFLAGS+= -DHAVE_LIBUSBHID_H
|
||||
.else
|
||||
.elif exists(/usr/include/libusb.h)
|
||||
CONFIGURE_ENV+= USB_LIBS=-lusb
|
||||
.else
|
||||
CONFIGURE_ARGS+=--enable-joystick=no
|
||||
.endif
|
||||
|
||||
MAN3!= ${CAT} ${FILESDIR}/man3
|
||||
|
|
Loading…
Reference in a new issue