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