ports/127504: [patch] multimedia/mplayer depends on liblzo but needs liblzo2
Eugene Grosbein
eu at grosbein.pp.ru
Sat Sep 20 08:40:01 UTC 2008
>Number: 127504
>Category: ports
>Synopsis: [patch] multimedia/mplayer depends on liblzo but needs liblzo2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 20 08:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Eugene Grosbein
>Release: FreeBSD 7.0-STABLE i386
>Organization:
Svyaz-Service
>Environment:
System: FreeBSD grosbein.pp.ru 7.0-STABLE FreeBSD 7.0-STABLE #5: Fri Aug 22 01:22:08 KRAST 2008 eu at grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386
>Description:
The port multimedia/mplayer may optionally depend on external
LZO library (WITH_LIBLZO). It checks for liblzo.so.1
and installs it with archivers/lzo port if needed.
However, mplayer's configure scripts looks for liblzo2.so.
So, if there is lzo2 installed, mplayer compiles with lzo2
dependancy but records lzo. Then 'pkg_create -R -b mplayer-0.99.11_5'
creates a set of packages needed to install and run mplayer
but pkg_add mplayer-0.99.11_5.tbz installs liblzo and not liblzo2
and mplayer binary fails to link with liblzo2.so it needs
(when it is missing on targed host where mplayer is installed
using created set of packages).
If lzo2 is not installed when mplayers builds, its configure
script skips support for external LZO library but dependency
on liblzo is recorded, however.
>How-To-Repeat:
Make sure there is no liblzo2 installed, build mplayer via port
and see that its binary does not link with lzo library.
>Fix:
--- mplayer/Makefile.options.orig 2008-09-20 15:03:05.000000000 +0800
+++ mplayer/Makefile.options 2008-09-20 15:20:10.000000000 +0800
@@ -227,7 +227,7 @@
.endif
.if defined(WITH_LIBLZO)
-LIB_DEPENDS+= lzo.1:${PORTSDIR}/archivers/lzo
+LIB_DEPENDS+= lzo2.2:${PORTSDIR}/archivers/lzo2
.else
CONFIGURE_ARGS+= --disable-liblzo
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list