diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-02-22 00:42:49 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-02-22 00:42:49 +0800 |
commit | 2dec331692e8e30b9c88ffa8bb0d9ff685ea6af0 (patch) | |
tree | a7c2c3701e2a7956605a33d926ddf6520c53868d | |
parent | a9e2fca6268cbbe7190c17dc2a9ab74bdac2dc0d (diff) | |
download | freebsd-ports-gnome-2dec331692e8e30b9c88ffa8bb0d9ff685ea6af0.tar.gz freebsd-ports-gnome-2dec331692e8e30b9c88ffa8bb0d9ff685ea6af0.tar.zst freebsd-ports-gnome-2dec331692e8e30b9c88ffa8bb0d9ff685ea6af0.zip |
Allow it be compiled without svgalib support.
Submitted by: joerg
-rw-r--r-- | devel/sdl12/Makefile | 8 |
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> |