Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2010 20:48:20 GMT
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153189: audio/sox: explicitly disable ALSA
Message-ID:  <201012152048.oBFKmKmf024735@red.freebsd.org>
Resent-Message-ID: <201012152050.oBFKoAKV065665@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012152048.oBFKmKmf024735>