ports/151508: multimedia/ffmpeg: explicitly disable alsa

Max Brazhnikov makc at FreeBSD.org
Sat Oct 16 18:20:09 UTC 2010


>Number:         151508
>Category:       ports
>Synopsis:       multimedia/ffmpeg: 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:   Sat Oct 16 18:20:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
FreeBSD luna.dio.ru 8.1-STABLE FreeBSD 8.1-STABLE #10: Tue Aug 31 10:36:57 MSD 2010     root at luna.dio.ru:/usr/obj/usr/freebsd/8/src/sys/LUNA  amd64
>Description:
Explicitly disable alsa support to avoid linking with libasound, when audio/alsa-lib is installed.

multimedia/ffmpeg-devel may require the fix too.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/multimedia/ffmpeg/Makefile,v
retrieving revision 1.115
diff -u -r1.115 Makefile
--- Makefile	11 Oct 2010 13:51:28 -0000	1.115
+++ Makefile	16 Oct 2010 18:09:42 -0000
@@ -89,7 +89,9 @@
 		--extra-cflags="${FFMPEG_CFLAGS} -I${LOCALBASE}/include" \
 		--extra-ldflags="-L${LOCALBASE}/lib ${FFMPEG_LDFLAGS}" \
 		--extra-libs="${PTHREAD_LIBS}" \
-		--disable-debug
+		--disable-debug \
+		--disable-indev=alsa \
+		--disable-outdev=alsa
 SHLIB_VER=	1
 PLIST_SUB=	SHLIB_VER=${SHLIB_VER}
 USE_LDCONFIG=	yes


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list