aboutsummaryrefslogtreecommitdiff
path: root/devel/sdl12
diff options
context:
space:
mode:
Diffstat (limited to 'devel/sdl12')
-rw-r--r--devel/sdl12/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index 40af9c2eb45e..cc25ec891861 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -71,10 +71,8 @@ CONFIGURE_ARGS+=--enable-video-opengl
.if exists(/usr/include/libusbhid.h)
CONFIGURE_ENV+= USB_LIBS=-lusbhid
CFLAGS+= -DHAVE_LIBUSBHID_H
-.elif exists(/usr/include/libusb.h)
-CONFIGURE_ENV+= USB_LIBS=-lusb
.else
-CONFIGURE_ARGS+=--enable-joystick=no
+CONFIGURE_ENV+= USB_LIBS=-lusb
.endif
MAN3!= ${CAT} ${FILESDIR}/man3