NetBSD Problem Report #42211

From www@NetBSD.org  Thu Oct 22 10:27:50 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 63ED563B8B6
	for <gnats-bugs@gnats.netbsd.org>; Thu, 22 Oct 2009 10:27:50 +0000 (UTC)
Message-Id: <20091022102750.3878F63B877@www.NetBSD.org>
Date: Thu, 22 Oct 2009 10:27:50 +0000 (UTC)
From: rumcic@gmail.com
Reply-To: rumcic@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [PATCH] faad option for mplayer does not work
X-Send-Pr-Version: www-1.0

>Number:         42211
>Category:       pkg
>Synopsis:       [PATCH] faad option for mplayer does not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ahoka
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 22 10:30:00 +0000 2009
>Last-Modified:  Thu Oct 22 10:48:29 +0000 2009
>Originator:     Rumko
>Release:        /
>Organization:
>Environment:
DragonFly rumko.rumko.net 2.5.1-DEVELOPMENT DragonFly v2.5.1.84.g42ba1-DEVELOPMENT #24: Sun Oct 18 13:56:16 CEST 2009     root@rumko.rumko.net:/usr/obj/usr/src/sys/MYPRECIOUS  i386
>Description:
Faad configure options have been changed a bit, so the included patch is needed to make mplayer&co. compile when faad is set in PKG_OPTIONS
>How-To-Repeat:

>Fix:
diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk
index de31cb3..ce69488 100644
--- a/multimedia/mplayer-share/options.mk
+++ b/multimedia/mplayer-share/options.mk
@@ -157,12 +157,14 @@ CONFIGURE_ARGS+=  --disable-faac
 .endif

 .if empty(PKG_OPTIONS:Mfaad) && empty(PKG_OPTIONS:Mmplayer-internal-faad)
-CONFIGURE_ARGS+=       --disable-faad-external
+CONFIGURE_ARGS+=       --disable-faad
 CONFIGURE_ARGS+=       --disable-faad-internal
 .elif !empty(PKG_OPTIONS:Mfaad)
-CONFIGURE_ARGS+=       --enable-faad-external
+CONFIGURE_ARGS+=       --enable-faad
+CONFIGURE_ARGS+=       --disable-faad-internal
 .  include "../../audio/faad2/buildlink3.mk"
 .else
+CONFIGURE_ARGS+=       --enable-faad
 CONFIGURE_ARGS+=       --enable-faad-internal
 .endif


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ahoka
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 22 Oct 2009 10:48:29 +0000
Responsible-Changed-Why:
Over to updater.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.