summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/sdl12/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index afee3d59ce95..459f32f7b867 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -43,9 +43,11 @@ OPTIONS= NAS "Include support for the Network Audio System" Off \
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500000
.if exists(/usr/lib/libvgl.so)
CONFIGURE_ARGS+=--enable-video-vgl
DISPLAY_MSG= ${CAT} ${PKGMESSAGE}
+.endif
.else
CONFIGURE_ARGS+=--disable-video-vgl
PKGMESSAGE= none