1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

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>
This commit is contained in:
Maxim Sobolev 2002-08-30 12:39:30 +00:00
parent 20b2ba4553
commit 3f548bbf6d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65291

View File

@ -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}