aboutsummaryrefslogtreecommitdiff
path: root/devel/sdl12
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-08-30 12:39:30 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-08-30 12:39:30 +0000
commit3f548bbf6da6eecd8f07c74029cb535d0035f50a (patch)
treec393b57d449b2c3c5b9d867bf3529a5a55a544e0 /devel/sdl12
parent20b2ba45530587b9136a7e6190f8ec9da0497d2d (diff)
downloadports-3f548bbf6da6eecd8f07c74029cb535d0035f50a.tar.gz
ports-3f548bbf6da6eecd8f07c74029cb535d0035f50a.zip
Notes
Diffstat (limited to 'devel/sdl12')
-rw-r--r--devel/sdl12/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index 84c6888d6e38..8b6536285a3f 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -24,7 +24,6 @@ CONFIGURE_ENV= NASM="${LOCALBASE}/bin/nasm" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --enable-video-aalib \
- --disable-arts \
--disable-nas
CFLAGS+= ${PTHREAD_CFLAGS}
@@ -70,6 +69,13 @@ LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
CONFIGURE_ARGS+=--enable-video-svga
.endif
+.if exists(${LOCALBASE}/bin/artsc-config) || defined(WITH_ARTS)
+LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
+CONFIGURE_ARGS+=--enable-arts
+.else
+CONFIGURE_ARGS+=--disable-arts
+.endif
+
pre-configure:
@${FIND} ${WRKSRC} -type f -name Makefile.in | ${XARGS} ${TOUCH}