ports/126554: ffmpeg fails to build if AMR_NB or AMR_WB is enabled

Carl Fongheiser carlfongheiser at gmail.com
Fri Aug 15 16:30:10 UTC 2008


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



More information about the freebsd-ports-bugs mailing list