ports/153189: audio/sox: explicitly disable ALSA
Max Brazhnikov
makc at FreeBSD.org
Wed Dec 15 20:50:11 UTC 2010
>Number: 153189
>Category: ports
>Synopsis: audio/sox: explicitly disable ALSA
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 15 20:50:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Max Brazhnikov
>Release: FreeBSD 8.2-PRERELEASE amd64
>Organization:
>Environment:
FreeBSD luna.dio.ru 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Tue Nov 30 22:58:45 MSK 2010 root at luna.dio.ru:/usr/obj/usr/freebsd/8/src/sys/LUNA amd64
>Description:
sox links with alsa compatibility library if audio/alsa-lib is installed.
I see no reason for adding extra dependency on it, thus explicitly disable ALSA support.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/sox/Makefile,v
retrieving revision 1.51
diff -u -r1.51 Makefile
--- Makefile 12 Dec 2010 16:51:50 -0000 1.51
+++ Makefile 15 Dec 2010 19:41:04 -0000
@@ -52,8 +52,9 @@
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS+= --with-pkgconfigdir="${PREFIX}/libdata/pkgconfig"
-CONFIGURE_ARGS+= --with-distro="${CONFIGURE_TARGET} ${PKGNAME}"
+CONFIGURE_ARGS+= --with-pkgconfigdir="${PREFIX}/libdata/pkgconfig" \
+ --with-distro="${CONFIGURE_TARGET} ${PKGNAME}" \
+ --without-alsa
.if defined(WITH_AO)
CONFIGURE_ARGS+= --with-ao
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list