>Description:
building xmms2 (Versions in Makefile say: PORTVERSION=0.6 , PORTREVISION=4) with
option MPG123 fails with the following error (ports are from csup):
[root@freebsd /usr/ports/audio/xmms2]# FORCE_PKG_REGISTER=1 make
...
Error: shared library "mpg123.20" does not exist
*** Error code 1
inspecting libmpg123 (that has been built in the very same process from the very same
source tree (csup) ):
[root@freebsd /usr/ports/audio/xmms2]# ls -la /usr/local/lib/libmpg123.*
-rwxr-xr-x 1 root wheel 968 Apr 12 19:59 /usr/local/lib/libmpg123.la
lrwxr-xr-x 1 root wheel 15 Apr 12 19:59 /usr/local/lib/libmpg123.so -> libmpg123.so.22
-rwxr-xr-x 1 root wheel 264134 Apr 12 19:59 /usr/local/lib/libmpg123.so.22
while the xmms2 Makefile still refers to libmpg123.so.20:
[root@freebsd /usr/ports/audio/xmms2]# cat Makefile|grep mpg123
LIB_DEPENDS+= mpg123.20:${PORTSDIR}/audio/mpg123
Adjusting the Makefile to use libmpg123.so.22 fixes this (see fix below).
>How-To-Repeat:
see above
>Fix:
--- Makefile.org 2010-04-12 18:20:12.000000000 +0200
+++ Makefile 2010-04-12 20:08:16.000000000 +0200
@@ -234,7 +234,7 @@
.endif
.if !defined(WITHOUT_MPG123)
-LIB_DEPENDS+= mpg123.20:${PORTSDIR}/audio/mpg123
+LIB_DEPENDS+= mpg123.22:${PORTSDIR}/audio/mpg123
PLIST_SUB+= MPG123=""
.else
EXCLUDE+= --without-plugins="mpg123"
>Release-Note:
>Audit-Trail:
>Unformatted: