ports/147860: [PATCH] multimedia/mplayer: optionify libmng
ports at c0decafe.net
ports at c0decafe.net
Tue Jun 15 04:40:04 UTC 2010
>Number: 147860
>Category: ports
>Synopsis: [PATCH] multimedia/mplayer: optionify libmng
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 15 04:40:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: ports at c0decafe.net
>Release: FreeBSD 7.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD kitchen.c0decafe.net 7.3-STABLE FreeBSD 7.3-STABLE #7: Mon Apr 26 05:01:08 EEST 2010
>Description:
MNG support is autodetected by the configure script.
patch below will properly OPTIONify the dependency.
Port maintainer (riggs at rrr.de) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
%ldd /usr/local/bin/mplayer | grep mng
libmng.so.1 => not found (0x0)
>Fix:
--- mplayer-1.0.r20100117_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/multimedia/mplayer.orig/Makefile /usr/ports/multimedia/mplayer/Makefile
--- /usr/ports/multimedia/mplayer.orig/Makefile 2010-06-06 23:43:58.000000000 +0300
+++ /usr/ports/multimedia/mplayer/Makefile 2010-06-15 06:57:22.000000000 +0300
@@ -61,6 +61,7 @@
OPTIONS+= LIBLZO "Enable external liblzo library" off
OPTIONS+= JOYSTICK "Enable joystick support" off
OPTIONS+= V4L "Enable Video4Linux TV support" off
+OPTIONS+= MNG "Enable MNG input support" off
MAN1= mplayer.1
MANCOMPRESSED= no
diff -ruN --exclude=CVS /usr/ports/multimedia/mplayer.orig/Makefile.options /usr/ports/multimedia/mplayer/Makefile.options
--- /usr/ports/multimedia/mplayer.orig/Makefile.options 2010-04-25 11:29:23.000000000 +0300
+++ /usr/ports/multimedia/mplayer/Makefile.options 2010-06-15 06:56:56.000000000 +0300
@@ -225,6 +225,13 @@
--disable-tv-v4l2
.endif
+.if defined(WITH_MNG)
+LIB_DEPENDS+= mng:${PORTSDIR}/graphics/libmng
+CONFIGURE_ARGS+= --enable-mng
+.else
+CONFIGURE_ARGS+= --disable-mng
+.endif
+
.if defined(EXTRA_LIBS)
CONFIGURE_ARGS+= --extra-libs="${EXTRA_LIBS}"
.endif
--- mplayer-1.0.r20100117_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list