aboutsummaryrefslogtreecommitdiff
path: root/devel/sdl12/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-04-18 08:10:01 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-04-18 08:10:01 +0000
commit3d510485e53d7e2ad78c00305f4e230e9feff5c7 (patch)
tree13f4e30c4af5488d284c6d367827d0d7f3bae1a0 /devel/sdl12/Makefile
parent89b10cd027e27666e34c546569d64157838fc540 (diff)
downloadports-3d510485e53d7e2ad78c00305f4e230e9feff5c7.tar.gz
ports-3d510485e53d7e2ad78c00305f4e230e9feff5c7.zip
Notes
Diffstat (limited to 'devel/sdl12/Makefile')
-rw-r--r--devel/sdl12/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index 642916d4572d..975a93c85c00 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -49,6 +49,12 @@ CONFIGURE_ARGS+=--enable-video-opengl
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
CONFIGURE_ARGS+=--enable-video-svga
.endif
+.if exists(/usr/include/libusbhid.h)
+CONFIGURE_ENV+= USB_LIBS=-lusbhid
+CFLAGS+= -DHAVE_LIBUSBHID_H
+.else
+CONFIGURE_ENV+= USB_LIBS=-lusb
+.endif
.include <bsd.port.pre.mk>