aboutsummaryrefslogtreecommitdiffstats
path: root/devel/sdl-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/sdl-devel/Makefile')
-rw-r--r--devel/sdl-devel/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/devel/sdl-devel/Makefile b/devel/sdl-devel/Makefile
index 1005819d5cae..b063dbdff9b3 100644
--- a/devel/sdl-devel/Makefile
+++ b/devel/sdl-devel/Makefile
@@ -15,8 +15,7 @@ DISTNAME= SDL-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= esd.2:${PORTSDIR}/audio/esound \
- aa.1:${PORTSDIR}/graphics/aalib \
- ${GL_DEPENDS}
+ aa.1:${PORTSDIR}/graphics/aalib
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
USE_GMAKE= yes
@@ -31,10 +30,9 @@ CONFIGURE_ARGS= --enable-video-aalib
CFLAGS+= -D_THREAD_SAFE
.if defined(WITHOUT_GL)
-GL_DEPENDS=
CONFIGURE_ARGS+= --disable-video-opengl
.else
-GL_DEPENDS= GL.14:${PORTSDIR}/graphics/Mesa3
+USE_MESA= yes
CONFIGURE_ARGS+= --enable-video-opengl
.endif