From conrads@cox.net  Tue Apr 12 00:53:27 2005
Return-Path: <conrads@cox.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E683F16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Apr 2005 00:53:27 +0000 (GMT)
Received: from lakermmtao11.cox.net (lakermmtao11.cox.net [68.230.240.28])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 51AAA43D48
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Apr 2005 00:53:27 +0000 (GMT)
	(envelope-from conrads@cox.net)
Received: from dolphin.local.net ([68.11.70.216]) by lakermmtao11.cox.net
          (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP
          id <20050412005326.XQTY29670.lakermmtao11.cox.net@dolphin.local.net>;
          Mon, 11 Apr 2005 20:53:26 -0400
Received: from dolphin.local.net (localhost.local.net [127.0.0.1])
	by dolphin.local.net (8.13.3/8.13.3) with ESMTP id j3C0rPGq065902;
	Mon, 11 Apr 2005 19:53:25 -0500 (CDT)
	(envelope-from conrads@dolphin.local.net)
Received: (from root@localhost)
	by dolphin.local.net (8.13.3/8.13.3/Submit) id j3C0rKNE065901;
	Mon, 11 Apr 2005 19:53:20 -0500 (CDT)
	(envelope-from conrads)
Message-Id: <200504120053.j3C0rKNE065901@dolphin.local.net>
Date: Mon, 11 Apr 2005 19:53:20 -0500 (CDT)
From: "Conrad J. Sabatier" <conrads@cox.net>
Reply-To: "Conrad J. Sabatier" <conrads@cox.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: riggs@rrr.de
Subject: multimedia/mplayer: update Makefile to use new linux-realplayer 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         79809
>Category:       ports
>Synopsis:       multimedia/mplayer: update Makefile to use new linux-realplayer
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 12 01:00:47 GMT 2005
>Closed-Date:    Tue Apr 12 17:17:17 GMT 2005
>Last-Modified:  Tue Apr 12 17:17:17 GMT 2005
>Originator:     Conrad J. Sabatier
>Release:        FreeBSD 6.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD dolphin.local.net 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Sat Apr 9 16:09:53 CDT 2005 root@dolphin.local.net:/usr/obj/usr/src/sys/CUSTOM amd64


>Description:
	mplayer's Makefile checks for out-of-date (non-existent) 
	RealPlayer8 instead of the new linux-realplayer port
>How-To-Repeat:
	build with existing Makefile.  Whether you have linux-realplayer 
	installed already, or specify WITH_REALPLAYER=yes, mplayer still 
	will not configure itself properly to use it
>Fix:
	Apply the attached patch

--- mplayer.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/mplayer/Makefile,v
retrieving revision 1.112
diff -u -d -H -r1.112 Makefile
--- Makefile	14 Mar 2005 23:07:15 -0000	1.112
+++ Makefile	12 Apr 2005 00:36:41 -0000
@@ -422,7 +422,7 @@
 WITH_XANIM=	yes
 .endif
 
-.if exists(${LOCALBASE}/lib/RealPlayer8/realplay)
+.if exists(${LOCALBASE}/lib/RealPlayer/realplay.bin)
 WITH_REALPLAYER=	yes
 .endif
 
@@ -701,7 +701,7 @@
 
 .if defined(WITH_REALPLAYER)
 CONFIGURE_ARGS+=	--enable-real \
-			--with-reallibdir=${LOCALBASE}/lib/RealPlayer8/Codecs
+			--with-reallibdir=${LOCALBASE}/lib/RealPlayer/codecs
 RUN_DEPENDS+=		realplay:${PORTSDIR}/multimedia/linux-realplayer
 BUILD_DEPENDS+=		realplay:${PORTSDIR}/multimedia/linux-realplayer
 .endif
--- mplayer.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: flz 
State-Changed-When: Tue Apr 12 17:16:58 GMT 2005 
State-Changed-Why:  
Superseded by ports/79828. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79809 
>Unformatted:
