diff options
author | krion <krion@FreeBSD.org> | 2005-07-20 01:41:19 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2005-07-20 01:41:19 +0800 |
commit | d9670d1d62ff4d07b88c1fefafc913b643fb005b (patch) | |
tree | 6a2dfccc8f36481f58d37940a7675a4eddd4096b /devel/sdl12 | |
parent | 545d42a93ccdda0e49b349f9c4c1dadc0af4959c (diff) | |
download | freebsd-ports-gnome-d9670d1d62ff4d07b88c1fefafc913b643fb005b.tar.gz freebsd-ports-gnome-d9670d1d62ff4d07b88c1fefafc913b643fb005b.tar.zst freebsd-ports-gnome-d9670d1d62ff4d07b88c1fefafc913b643fb005b.zip |
Fix build if world is built with NO_USB=yes.
PR: ports/82171
Submitted by: Bjoern Koenig <bkoenig at cs.tu-berlin.de>
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 |