ports/112876: audio/xmcd - compile problems after xorg 7.2 upgrade (might be not related)
Tsurutani Naoki
turutani at scphys.kyoto-u.ac.jp
Thu May 31 05:30:11 UTC 2007
The following reply was made to PR ports/112876; it has been noted by GNATS.
From: Tsurutani Naoki <turutani at scphys.kyoto-u.ac.jp>
To: bug-followup at FreeBSD.org, edwin at mavetju.org, ports at FreeBSD.org
Cc:
Subject: Re: ports/112876: audio/xmcd - compile problems after xorg 7.2 upgrade (might be not related)
Date: Thu, 31 May 2007 14:24:37 +0900
Hi,
I came across the same problem.
I think this is caused by the duplicated library installed by audio/libcddb.
Before Xorg 7.2, xmcd was installed with the X11BASE prefix.
Now, it is installed under /usr/local, and library search path while building
is set to the PREFIX/lib.
Therefore, linker delect /usr/local/lib/libcddb.a in linking xmcd and other tools,
and fails to find symbols.
I do not know how to fix this in a adequate manner, but I have one solution;
renaming local libcdda.a to another. Here is a patch:
--- files/patch-aa.orig Fri Jan 10 11:50:37 2003
+++ files/patch-aa Thu May 31 12:56:28 2007
@@ -1,5 +1,14 @@
--- xmcd_d/Imakefile.orig Mon Nov 4 06:44:44 2002
+++ xmcd_d/Imakefile Mon Nov 4 04:44:28 2002
+@@ -44,7 +44,7 @@
+ * #include "Motif.rules"
+ */
+
+-CDDBLIB= -L../cddb_d -lcddb
++CDDBLIB= -L../cddb_d -lcddblocal
+ LOCAL_LIBDIR= -L/usr/freeware/lib32 -L/usr/local/lib
+ VORBLIB= -lvorbisenc -lvorbis -logg
+ FLACLIB= -lFLAC
@@ -82,7 +82,7 @@
#endif /* OSF1 */
#endif /* Linux */
--- files/patch-ac.orig Fri Feb 9 06:01:18 2007
+++ files/patch-ac Thu May 31 12:57:09 2007
@@ -1,5 +1,14 @@
--- cda_d/Imakefile.orig Thu Apr 22 03:27:23 2004
+++ cda_d/Imakefile Fri Feb 2 04:44:17 2007
+@@ -145,7 +145,7 @@
+ /*
+ * Add needed libraries
+ */
+-CDDBLIB= -L../cddb_d -lcddb
++CDDBLIB= -L../cddb_d -lcddblocal
+ LOCAL_LIBDIR= -L/usr/freeware/lib32 -L/usr/local/lib
+ VORBLIB= -lvorbisenc -lvorbis -logg
+ FLACLIB= -lFLAC
@@ -193,7 +193,7 @@
LOCAL_LIBRARIES=-lncurses
#else
--- /dev/null Thu May 31 13:00:26 2007
+++ patch-aj Thu May 31 12:58:25 2007
@@ -0,0 +1,11 @@
+--- cddb_d/Imakefile.orig Thu May 31 12:53:57 2007
++++ cddb_d/Imakefile Thu May 31 12:53:00 2007
+@@ -225,7 +225,7 @@
+ /*
+ * Build rule for the CD Information Library
+ */
+-NormalLibraryTarget(cddb,$(OBJS))
++NormalLibraryTarget(cddblocal,$(OBJS))
+ NormalLibraryTarget(cddbkey1,$(KOBJ))
+ DependTarget()
+
---
Tsurutani Naoki
turutani at scphys.kyoto-u.ac.jp
More information about the freebsd-ports-bugs
mailing list