Index: devel/sdl12/Makefile =================================================================== RCS file: /import/FreeBSD-CVS/ports/devel/sdl12/Makefile,v retrieving revision 1.112 diff -u -p -u -r1.112 Makefile --- devel/sdl12/Makefile 29 Mar 2008 09:38:29 -0000 1.112 +++ devel/sdl12/Makefile 24 Jun 2008 11:44:53 -0000 @@ -135,6 +135,12 @@ DISPLAY_MSG= ${DO_NADA} CONFIGURE_ARGS+=--enable-video-vgl DISPLAY_MSG= ${CAT} ${PKGMESSAGE} .endif +.if exists(/usr/include/libusbhid.h) +CONFIGURE_ENV+= USB_LIBS=-lusbhid +CFLAGS+= -DHAVE_LIBUSBHID_H +.else +#CONFIGURE_ENV+= USB_LIBS=-lusb +.endif .if defined(WITHOUT_XLIB) PKGNAMESUFFIX= -nox11