From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 15 16:30:10 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C063106574E for ; Fri, 15 Aug 2008 16:30:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A905F8FC1B for ; Fri, 15 Aug 2008 16:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7FGU2et074922 for ; Fri, 15 Aug 2008 16:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7FGU2nR074921; Fri, 15 Aug 2008 16:30:02 GMT (envelope-from gnats) Resent-Date: Fri, 15 Aug 2008 16:30:02 GMT Resent-Message-Id: <200808151630.m7FGU2nR074921@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Carl Fongheiser Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90CFC106567E for ; Fri, 15 Aug 2008 16:26:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 701CA8FC13 for ; Fri, 15 Aug 2008 16:26:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m7FGQ6SC079109 for ; Fri, 15 Aug 2008 16:26:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m7FGQ6BL079108; Fri, 15 Aug 2008 16:26:06 GMT (envelope-from nobody) Message-Id: <200808151626.m7FGQ6BL079108@www.freebsd.org> Date: Fri, 15 Aug 2008 16:26:06 GMT From: Carl Fongheiser To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/126554: ffmpeg fails to build if AMR_NB or AMR_WB is enabled X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 16:30:10 -0000 >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: