On Mon, Dec 03, 2007 at 12:58:18AM -0500, Daniel Macks wrote:
> Hooray for upstream bugs!
> 
> All of the shared libraried in emboss-5.0.0-3 are deficient in their
> linkages. They don't link any other libraries, yet they all use
> symbols from other libraries. See attached file for output from the
> "fink-dyld-link-test" thing in my experimental/ directory on cvs.sf to
> see what symbols are unresolved. The makefiles all appear to know the
> libs that would be needed, but intentionally avoid dynamically linking
> them on darwin (and don't even pass the flags correctly on most other
> platforms because they didn't read the automake or libtool manual).

Attached is a patchset that fixes all these linker messes. May need to
redo the Depends/BuildDepends for the emboss.info package set after
adding this to the existing emboss.patch file.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks

diff -Nurd -x'*~' EMBOSS-5.0.0.orig/ajax/Makefile.in 
EMBOSS-5.0.0/ajax/Makefile.in
--- EMBOSS-5.0.0.orig/ajax/Makefile.in  2007-07-12 06:53:32.000000000 -0400
+++ EMBOSS-5.0.0/ajax/Makefile.in       2007-12-03 01:28:50.000000000 -0500
@@ -85,7 +85,8 @@
        $(libajax_la_LDFLAGS) $(LDFLAGS) -o $@
 @[EMAIL PROTECTED] = -rpath $(libdir)
 @[EMAIL PROTECTED] = -rpath $(libdir)
-libajaxg_la_LIBADD =
+libajaxg_la_LIBADD = libajax.la ../plplot/libeplplot.la
+libajaxg_la_DEPENDENCIES = libajax.la ../plplot/libeplplot.la
 am__libajaxg_la_SOURCES_DIST = ajgraph.c ajhist.c
 @[EMAIL PROTECTED] = $(am__objects_2)
 libajaxg_la_OBJECTS = $(am_libajaxg_la_OBJECTS)
diff -Nurd -x'*~' EMBOSS-5.0.0.orig/nucleus/Makefile.in 
EMBOSS-5.0.0/nucleus/Makefile.in
--- EMBOSS-5.0.0.orig/nucleus/Makefile.in       2007-07-12 06:53:36.000000000 
-0400
+++ EMBOSS-5.0.0/nucleus/Makefile.in    2007-12-03 01:25:23.000000000 -0500
@@ -55,7 +55,8 @@
 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"
 libLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(lib_LTLIBRARIES)
-libnucleus_la_LIBADD =
+libnucleus_la_LIBADD = ../ajax/libajax.la
+libajaxg_la_DEPENDENCIES = ../ajax/libajax.la
 am__objects_1 = embaln.lo embcom.lo embcons.lo embdata.lo embdbi.lo \
        embdmx.lo embdomain.lo embest.lo embexit.lo embgroup.lo \
        embiep.lo embindex.lo embinit.lo embmat.lo embmisc.lo \
diff -Nurd -x'*~' EMBOSS-5.0.0.orig/plplot/Makefile.in 
EMBOSS-5.0.0/plplot/Makefile.in
--- EMBOSS-5.0.0.orig/plplot/Makefile.in        2007-07-12 06:53:36.000000000 
-0400
+++ EMBOSS-5.0.0/plplot/Makefile.in     2007-12-03 01:15:17.000000000 -0500
@@ -54,7 +54,7 @@
 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgincludedir)"
 libLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(lib_LTLIBRARIES)
-libeplplot_la_LIBADD =
+libeplplot_la_LIBADD = $(X_LIBS) -lX11 -lgd
 am__objects_1 = pdfutils.lo plargs.lo plbox.lo plcont.lo plcore.lo \
        plctrl.lo plcvt.lo pldtik.lo plfill.lo plhist.lo plline.lo \
        plmap.lo plot3d.lo plpage.lo plsdef.lo plshade.lo plsym.lo \
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to