1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Prevent unconditional linking against ALSA

PR:		148271
Submitted by:	swell.k@gmail.com
Feature safe:	yes
This commit is contained in:
Emanuel Haupt 2010-07-01 06:47:22 +00:00
parent a623b63344
commit c4d2ed7cb4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257250

View File

@ -7,6 +7,7 @@
PORTNAME= xmp
PORTVERSION= 3.2.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio
MASTER_SITES= SF
@ -23,7 +24,8 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc
MAN1= xmp.1
OPTIONS= ARTS "aRts output driver" off \
OPTIONS= ALSA "ALSA output driver" off \
ARTS "aRts output driver" off \
AUDACIOUS "Audacious plugin" off \
BMP "BeepMP plugin" off \
ESOUND "EsounD output driver" off \
@ -40,6 +42,14 @@ MAKE_JOBS_SAFE= yes
PORTDOCS= *
.endif
.if defined(WITH_ALSA)
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib
RUN_DEPENDS+= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins
CONFIGURE_ARGS+= --enable-alsa
.else
CONFIGURE_ARGS+= --disable-alsa
.endif
.if defined(WITH_ARTS)
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
CONFIGURE_ARGS+= --enable-arts