aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2006-11-22 00:47:00 +0800
committershaun <shaun@FreeBSD.org>2006-11-22 00:47:00 +0800
commit6ce0f78b0b1c5dab3c6f2a0a1a74d6abf8f8ad8f (patch)
tree2970d5f8bad8d99c929812b0d0f8f9a015ff29be
parentd141783e3669091d0f579936bf2cbb05dfa43c5b (diff)
downloadfreebsd-ports-gnome-6ce0f78b0b1c5dab3c6f2a0a1a74d6abf8f8ad8f.tar.gz
freebsd-ports-gnome-6ce0f78b0b1c5dab3c6f2a0a1a74d6abf8f8ad8f.tar.zst
freebsd-ports-gnome-6ce0f78b0b1c5dab3c6f2a0a1a74d6abf8f8ad8f.zip
- Add an SVGALIB OPTION. [1]
- Explicitly disable check for libusbhid.h where appropriate, as some systems still have this header hanging around. [2] PR: ports/104366 [1], ports/103558 (related) [2] Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> [1], Stefan Walter <sw@gegenunendlich.de> + others [2]
-rw-r--r--devel/sdl12/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index cbc162cd1f30..83f124fd1cb4 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -50,7 +50,8 @@ DOCS= BUGS COPYING CREDITS README README-SDL.txt WhatsNew docs.html
OPTIONS= NAS "Include support for the Network Audio System" Off \
AALIB "Include support for AA-lib" On \
GL "Include support for OpenGL" On \
- GGI "Include support for GGI" Off
+ GGI "Include support for GGI" Off \
+ SVGALIB "Include support for SVGALIB" On
.include <bsd.port.pre.mk>
@@ -63,6 +64,10 @@ PKGMESSAGE= none
DISPLAY_MSG= ${DO_NADA}
.endif
+.if ${OSVERSION} >= 500111
+CONFIGURE_ENV+= ac_cv_header_libusbhid_h=no
+.endif
+
.if defined(WITH_NAS)
LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
.else