aboutsummaryrefslogtreecommitdiff
path: root/devel/sdl12
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-02-21 16:42:49 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-02-21 16:42:49 +0000
commit08e5396f8aa93e1f1ddb20c6e9a63967791659d8 (patch)
tree3004022a191e601ab27a3078332d0c32a5343806 /devel/sdl12
parent27fc2aa9ce9175e080369360d0141ff0bf38ce2e (diff)
downloadports-08e5396f8aa93e1f1ddb20c6e9a63967791659d8.tar.gz
ports-08e5396f8aa93e1f1ddb20c6e9a63967791659d8.zip
Notes
Diffstat (limited to 'devel/sdl12')
-rw-r--r--devel/sdl12/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index 6c53a90b7ab8..8d9a3aa67d42 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -15,8 +15,7 @@ DISTNAME= SDL-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
-LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib \
- vga.1:${PORTSDIR}/graphics/svgalib
+LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
USE_XLIB= yes
@@ -27,7 +26,6 @@ CONFIGURE_ENV= NASM="${LOCALBASE}/bin/nasm" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --enable-video-aalib \
- --enable-video-svga \
--disable-arts \
--disable-nas
@@ -48,6 +46,10 @@ CONFIGURE_ARGS+=--disable-video-opengl
USE_MESA= yes
CONFIGURE_ARGS+=--enable-video-opengl
.endif
+.if !defined(WITHOUT_SVGALIB)
+LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
+CONFIGURE_ARGS+=--enable-video-svga
+.endif
.include <bsd.port.pre.mk>