summaryrefslogtreecommitdiffstats
path: root/devel/sdl12
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-01-30 19:49:42 +0000
committerlioux <lioux@FreeBSD.org>2003-01-30 19:49:42 +0000
commitd9e4fb4f7783623e10168502ce0938bf53978d90 (patch)
treebb77530b603be420fa7d371203489e903575b71c /devel/sdl12
parentd89d465e516930559ad1a8d26e977928b20e7c3b (diff)
downloadFreeBSD-ports-d9e4fb4f7783623e10168502ce0938bf53978d90.zip
FreeBSD-ports-d9e4fb4f7783623e10168502ce0938bf53978d90.tar.gz
Complete deployment of GNOMENG infrastructure: WITHOUT_ESOUND is
deprecated Submitted by: David Yeske <dyeske@yahoo.com>
Diffstat (limited to 'devel/sdl12')
-rw-r--r--devel/sdl12/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index 891833a..3412afe 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -21,6 +21,8 @@ BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
USE_LIBTOOL= yes
+USE_GNOMENG= yes
+WANT_GNOME= yes
CONFIGURE_ENV= NASM="${LOCALBASE}/bin/nasm" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
@@ -41,12 +43,6 @@ DISPLAY_MSG= ${DO_NADA}
.if !defined(WITHOUT_X11)
USE_XLIB= yes
.endif
-.if !defined(WITHOUT_ESOUND)
-USE_GNOMENG= yes
-USE_GNOME= esound
-.else
-CONFIGURE_ARGS+=--disable-esd --disable-esdtest
-.endif
.if defined(WITHOUT_GL)
CONFIGURE_ARGS+=--disable-video-opengl
.else
@@ -68,6 +64,12 @@ MAN3!= ${CAT} ${FILESDIR}/man3
WITHOUT_SVGALIB= yes
.endif
+.if ${HAVE_GNOME:Mesound}!=""
+USE_GNOME+= esound
+.else
+CONFIGURE_ARGS+=--disable-esd --disable-esdtest
+.endif
+
.if !defined(WITHOUT_SVGALIB)
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
CONFIGURE_ARGS+=--enable-video-svga
OpenPOWER on IntegriCloud