ports/79809: multimedia/mplayer: update Makefile to use new linux-realplayer
Conrad J. Sabatier
conrads at cox.net
Tue Apr 12 01:00:48 UTC 2005
>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: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 12 01:00:47 GMT 2005
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list