diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-08-30 20:39:30 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-08-30 20:39:30 +0800 |
commit | fdf27f6c9a95a5d4f82434de30cc75ffba4fc993 (patch) | |
tree | cd4e2ebc1e113b4b394e4ad679141ddb55cbfa66 | |
parent | f05a439c4b7be641c0a25d71a791a571be430b71 (diff) | |
download | freebsd-ports-graphics-fdf27f6c9a95a5d4f82434de30cc75ffba4fc993.tar.gz freebsd-ports-graphics-fdf27f6c9a95a5d4f82434de30cc75ffba4fc993.tar.zst freebsd-ports-graphics-fdf27f6c9a95a5d4f82434de30cc75ffba4fc993.zip |
Add optional support for building with ARTS support, when audio/arts is
is installed or WITH_ARTS is defined.
PR: 39136
Submitted by: User & <marc@informatik.uni-bremen.de>
-rw-r--r-- | devel/sdl12/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile index 84c6888d6e3..8b6536285a3 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} |