Date: Fri, 15 Aug 2008 16:26:06 GMT From: Carl Fongheiser <carlfongheiser@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/126554: ffmpeg fails to build if AMR_NB or AMR_WB is enabled Message-ID: <200808151626.m7FGQ6BL079108@www.freebsd.org> Resent-Message-ID: <200808151630.m7FGU2nR074921@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 126554 >Category: ports >Synopsis: ffmpeg fails to build if AMR_NB or AMR_WB is enabled >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 15 16:30:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Carl Fongheiser >Release: 7.0-RELEASE-p2 >Organization: >Environment: FreeBSD kf0yn2.kf0yn.ampr.org 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Thu Jul 10 13:35:20 CDT 2008 cmf@kf0yn2.kf0yn.ampr.org:/usr/obj/usr/src/sys/OSITOS i386 >Description: If AMR_NB or AMR_WB options are enabled, ffmpeg will fail to build. This is because the ffmpeg developers have decided to require a --enable-nonfree option to be supplied to configure in order to permit these codecs. The attached patch fixes the problem. >How-To-Repeat: Enable either or both of AMR_NB and AMR_WB for the ffmpeg port, then attempt to build ffmpeg. >Fix: Apply the attached patch. Patch attached with submission follows: --- Makefile.orig 2008-08-14 17:08:02.000000000 -0500 +++ Makefile 2008-08-15 11:17:56.000000000 -0500 @@ -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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808151626.m7FGQ6BL079108>