Bug 145661 - [patch] audio/xmms2 : compilation error when configured to use audio/mpg123
Summary: [patch] audio/xmms2 : compilation error when configured to use audio/mpg123
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2010-04-12 20:30 UTC by Oliver Wegner
Modified: 2010-05-04 12:30 UTC (History)
1 user (show)

See Also:

file.diff (349 bytes, patch)
2010-04-12 20:30 UTC, Oliver Wegner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Wegner 2010-04-12 20:30:03 UTC
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
Comment 1 Pav Lucistnik freebsd_committer 2010-05-04 12:13:40 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 2 dfilter service freebsd_committer 2010-05-04 12:28:35 UTC
pav         2010-05-04 11:28:22 UTC

  FreeBSD ports repository

  Modified files:
    audio/xmms2          Makefile 
  - Chase mpg123 update
  PR:             ports/145661
  Submitted by:   Oliver Wegner <oliver@skriptepedia.de>
  Revision  Changes    Path
  1.53      +1 -1      ports/audio/xmms2/Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"