Blame SOURCES/guile-1.8.8-deplibs.patch

5ec397
diff -up guile-1.8.8/guile-1.8.pc.in.deplibs guile-1.8.8/guile-1.8.pc.in
5ec397
--- guile-1.8.8/guile-1.8.pc.in.deplibs	2010-12-13 18:24:39.000000000 +0100
5ec397
+++ guile-1.8.8/guile-1.8.pc.in	2011-06-16 15:37:57.614346208 +0200
5ec397
@@ -11,5 +11,6 @@ libguileinterface=@LIBGUILE_INTERFACE@
5ec397
 Name: GNU Guile
5ec397
 Description: GNU's Ubiquitous Intelligent Language for Extension
5ec397
 Version: @GUILE_VERSION@
5ec397
-Libs: -L${libdir} -lguile @GUILE_LIBS@
5ec397
+Libs: -L${libdir} -lguile
5ec397
+Libs.private: @GUILE_LIBS@
5ec397
 Cflags: -I${includedir} @GUILE_CFLAGS@
5ec397
diff -up guile-1.8.8/guile-config/guile-config.in.deplibs guile-1.8.8/guile-config/guile-config.in
5ec397
--- guile-1.8.8/guile-config/guile-config.in.deplibs	2010-12-13 18:24:39.000000000 +0100
5ec397
+++ guile-1.8.8/guile-config/guile-config.in	2010-12-14 13:49:50.703230447 +0100
5ec397
@@ -152,10 +152,10 @@
5ec397
 	      (list
5ec397
 	       (get-build-info 'CFLAGS)
5ec397
                (if (or (string=? libdir "/usr/lib")
5ec397
-                       (string=? libdir "/usr/lib/"))
5ec397
+                       (string=? libdir "/usr/lib64"))
5ec397
 		   ""
5ec397
 		   (string-append "-L" (get-build-info 'libdir)))
5ec397
-               "-lguile -lltdl"
5ec397
+               "-lguile"
5ec397
 	       (string-join other-flags)
5ec397
 
5ec397
 	       )))
5ec397
diff -up guile-1.8.8/libguile/Makefile.in.deplibs guile-1.8.8/libguile/Makefile.in
5ec397
--- guile-1.8.8/libguile/Makefile.in.deplibs	2010-12-14 13:49:50.698230252 +0100
5ec397
+++ guile-1.8.8/libguile/Makefile.in	2010-12-14 13:49:50.705230526 +0100
5ec397
@@ -471,7 +471,7 @@ noinst_HEADERS = convert.i.c					\
5ec397
 
5ec397
 libguile_la_DEPENDENCIES = @LIBLOBJS@
5ec397
 libguile_la_LIBADD = @LIBLOBJS@
5ec397
-libguile_la_LDFLAGS = @LTLIBINTL@ -version-info @LIBGUILE_INTERFACE_CURRENT@:@LIBGUILE_INTERFACE_REVISION@:@LIBGUILE_INTERFACE_AGE@ -export-dynamic -no-undefined
5ec397
+libguile_la_LDFLAGS = @LTLIBINTL@ -version-info @LIBGUILE_INTERFACE_CURRENT@:@LIBGUILE_INTERFACE_REVISION@:@LIBGUILE_INTERFACE_AGE@ -export-dynamic -no-undefined -pthread
5ec397
 
5ec397
 # These are headers visible as <guile/mumble.h>
5ec397
 pkginclude_HEADERS = gh.h
5ec397
@@ -2131,8 +2131,8 @@ libpath.h: $(srcdir)/Makefile.in  $(top_
5ec397
 	@echo '#define SCM_LIBRARY_DIR "$(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION)"'>>libpath.tmp
5ec397
 	@echo '#define SCM_SITE_DIR "$(pkgdatadir)/site"' >> libpath.tmp
5ec397
 	@echo '#define SCM_BUILD_INFO { \' >> libpath.tmp
5ec397
-	@echo '	{ "srcdir", "'"`cd @srcdir@; pwd`"'" }, \' >> libpath.tmp
5ec397
-	@echo ' { "top_srcdir",    "@top_srcdir_absolute@" }, \' >> libpath.tmp
5ec397
+	@echo '	{ "srcdir", "" }, \' >> libpath.tmp
5ec397
+	@echo ' { "top_srcdir",    "" }, \' >> libpath.tmp
5ec397
 	@echo '	{ "prefix",	   "@prefix@" }, \' >> libpath.tmp
5ec397
 	@echo '	{ "exec_prefix",   "@exec_prefix@" }, \' >> libpath.tmp
5ec397
 	@echo '	{ "bindir",	   "@bindir@" }, \' >> libpath.tmp
5ec397
@@ -2153,7 +2153,7 @@ libpath.h: $(srcdir)/Makefile.in  $(top_
5ec397
 	@echo '	{ "guileversion", "@GUILE_VERSION@" }, \' >> libpath.tmp
5ec397
 	@echo '	{ "libguileinterface", "@LIBGUILE_INTERFACE@" }, \' \
5ec397
 		>> libpath.tmp
5ec397
-	@echo '	{ "LIBS",	   "@GUILE_LIBS@" }, \' >> libpath.tmp
5ec397
+	@echo '	{ "LIBS",	   "" }, \' >> libpath.tmp
5ec397
 	@echo '	{ "CFLAGS",	   "@GUILE_CFLAGS@" }, \' >> libpath.tmp
5ec397
 	@echo '	{ "buildstamp",    "'"`date`"'" }, \' >> libpath.tmp
5ec397
 	@echo '}' >> libpath.tmp