ports/114618: fix mplayer if compiled with libcaca

Max Brazhnikov makc at issp.ac.ru
Mon Jul 16 09:30:02 UTC 2007


>Number:         114618
>Category:       ports
>Synopsis:       fix mplayer if compiled with libcaca
>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:   Mon Jul 16 09:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Jul  7 13:05:41 MSD 2007     root at luna.dio.ru:/usr/obj/usr/src/sys/LUNA  i386
>Description:
install mplayer with libcaca support, deinstall libcaca
> mplayer -vo caca 'test.avi'
/libexec/ld-elf.so.1: Shared object "libcaca.so.0" not found, required by "mplayer"
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN --exclude=CVS /usr/ports/multimedia/mplayer/Makefile /home/makc/porting/ports/multimedia/mplayer/Makefile
--- /usr/ports/multimedia/mplayer/Makefile	Wed Jun 13 10:06:59 2007
+++ /home/makc/porting/ports/multimedia/mplayer/Makefile	Mon Jul 16 11:51:17 2007
@@ -351,7 +351,7 @@
 .endif
 
 .if defined(WITH_LIBCACA)
-BUILD_DEPENDS+=	${LOCALBASE}/lib/libcaca.a:${PORTSDIR}/graphics/libcaca
+LIB_DEPENDS+=	caca.0:${PORTSDIR}/graphics/libcaca
 .else
 CONFIGURE_ARGS+=	--disable-caca
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list