diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2005-07-19 17:41:19 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2005-07-19 17:41:19 +0000 |
commit | 02756866ca407d66c478ec0530d7b060daae5e30 (patch) | |
tree | 043161dc26b0a439b7c97801206440c8190a324b /devel/sdl12 | |
parent | Add limikmod support. (diff) |
Fix build if world is built with NO_USB=yes.
PR: ports/82171
Submitted by: Bjoern Koenig <bkoenig at cs.tu-berlin.de>
Notes
Notes:
svn path=/head/; revision=139610
Diffstat (limited to 'devel/sdl12')
-rw-r--r-- | devel/sdl12/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile index cc25ec891861..40af9c2eb45e 100644 --- a/devel/sdl12/Makefile +++ b/devel/sdl12/Makefile @@ -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 |