summaryrefslogtreecommitdiff
path: root/devel/sdl12/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/sdl12/Makefile')
-rw-r--r--devel/sdl12/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index c174311ae5b1..b732c32a6258 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -26,7 +26,8 @@ USE_GNOME= gnomehack gnometarget pkgconfig
USE_ICONV= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
- LDFLAGS="${LDFLAGS}"
+ LDFLAGS="${LDFLAGS}" \
+ ac_cv_header_libusbhid_h=no
CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -63,10 +64,6 @@ OPTIONS+= XLIB "XLib (xorg) graphics support" On
MAN3!= ${CAT} ${FILESDIR}/man3
-.if ${OSVERSION} >= 500111
-CONFIGURE_ENV+= ac_cv_header_libusbhid_h=no
-.endif
-
.if defined(WITHOUT_AALIB)
CONFIGURE_ARGS+=--disable-video-aalib
.else