Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2008 14:01:15 +0400
From:      pluknet <pluknet@gmail.com>
To:        multimedia@freebsd.org
Subject:   multimedia/ffmpeg build is broken with amr support
Message-ID:  <a31046fc0808150301h2b7fce3eq61425cd9f29e2c9@mail.gmail.com>

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

[-- Attachment #1 --]
Hi,

===>  Configuring for ffmpeg-2008.07.27_6
libamr is nonfree and --enable-nonfree is not specified.

This patch adds required flag in WITH_AMR_NB and WITH_AMR_WB cases.

wbr,
pluknet

[-- Attachment #2 --]
--- Makefile.orig	2008-08-15 13:56:39.000000000 +0400
+++ Makefile	2008-08-15 13:54:31.000000000 +0400
@@ -142,14 +142,14 @@
 ## amr
 .ifdef(WITH_AMR_NB)
 LIB_DEPENDS+=		amrnb.3:${PORTSDIR}/audio/libamrnb
-CONFIGURE_ARGS+=	--enable-libamr-nb
+CONFIGURE_ARGS+=	--enable-libamr-nb --enable-nonfree
 .else
 CONFIGURE_ARGS+=	--disable-libamr-nb
 .endif
 
 .ifdef(WITH_AMR_WB)
 LIB_DEPENDS+=		amrwb.3:${PORTSDIR}/audio/libamrwb
-CONFIGURE_ARGS+=	--enable-libamr-wb
+CONFIGURE_ARGS+=	--enable-libamr-wb --enable-nonfree
 .else
 CONFIGURE_ARGS+=	--disable-libamr-wb
 .endif

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