From owner-freebsd-multimedia@FreeBSD.ORG Wed Jul 30 05:36:11 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E86BE106564A for ; Wed, 30 Jul 2008 05:36:11 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtai103.cox.net (eastrmmtai103.cox.net [68.230.240.10]) by mx1.freebsd.org (Postfix) with ESMTP id 893868FC19 for ; Wed, 30 Jul 2008 05:36:11 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao102.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080730052044.BKSP22786.eastrmmtao102.cox.net@eastrmimpo01.cox.net> for ; Wed, 30 Jul 2008 01:20:44 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id w5Lj1Z0024iy4EG025Ljbg; Wed, 30 Jul 2008 01:20:43 -0400 Date: Wed, 30 Jul 2008 00:20:46 -0500 To: freebsd-multimedia@freebsd.org From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.51 (Linux) Subject: Fix mplayer build with update ffmpeg. X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2008 05:36:12 -0000 Hello folks, It's rather a hack and I just need it quick. :-) Change from: ---------------------------------------------- post-configure: @${REINPLACE_CMD} -e 's#-pthread#${PTHREAD_LIBS}#g ; \ ${WRKSRC}/config.mak ---------------------------------------------- To: ---------------------------------------------- post-configure: @${REINPLACE_CMD} -e 's#-pthread#${PTHREAD_LIBS}#g ; \ s|= -I/usr/local/|= -I. -I... -I.../libavutil -I/usr/local/|g' \ ${WRKSRC}/config.mak ---------------------------------------------- The better solution is to patch in either configure, Makefile* or *.mak, which I don't want to dig in there. Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org