aboutsummaryrefslogtreecommitdiff
path: root/devel/sdl12
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-07-21 19:23:24 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-07-21 19:23:24 +0000
commite18958e5cc207c2581c83c61f1bd00ebe10db4df (patch)
tree5457ba3f1d1a5d7959ca31fe784202533475e73a /devel/sdl12
parentedd0afe252fc4f4b7b9ce93b4fdf72cb7bd432a2 (diff)
downloadports-e18958e5cc207c2581c83c61f1bd00ebe10db4df.tar.gz
ports-e18958e5cc207c2581c83c61f1bd00ebe10db4df.zip
Notes
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