|
|
3c79d0 |
diff -up guile-2.0.9/libguile/Makefile.in.multilib guile-2.0.9/libguile/Makefile.in
|
|
|
3c79d0 |
--- guile-2.0.9/libguile/Makefile.in.multilib 2013-04-10 01:31:59.000000000 +0200
|
|
|
3c79d0 |
+++ guile-2.0.9/libguile/Makefile.in 2013-07-16 16:59:59.490527131 +0200
|
|
|
3c79d0 |
@@ -3283,6 +3283,11 @@ install-nodist_modincludeHEADERS: $(nodi
|
|
|
3c79d0 |
while read files; do \
|
|
|
3c79d0 |
echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(modincludedir)'"; \
|
|
|
3c79d0 |
$(INSTALL_HEADER) $$files "$(DESTDIR)$(modincludedir)" || exit $$?; \
|
|
|
3c79d0 |
+ for f in $$files; do if [ "$$f" = "scmconfig.h" ]; then \
|
|
|
3c79d0 |
+ grep -q "SCM_SIZEOF_LONG 4" "$(DESTDIR)$(modincludedir)/$$f" && g=32 || g=64; \
|
|
|
3c79d0 |
+ mv "$(DESTDIR)$(modincludedir)/$$f" "$(DESTDIR)$(modincludedir)/scmconfig-$$g.h"; \
|
|
|
3c79d0 |
+ $(INSTALL_HEADER) "$${d}scmconfig-multilib.h" "$(DESTDIR)$(modincludedir)/$$f"; \
|
|
|
3c79d0 |
+ fi; done \
|
|
|
3c79d0 |
done
|
|
|
3c79d0 |
|
|
|
3c79d0 |
uninstall-nodist_modincludeHEADERS:
|
|
|
3c79d0 |
diff -up guile-2.0.9/libguile/scmconfig-multilib.h.multilib guile-2.0.9/libguile/scmconfig-multilib.h
|
|
|
3c79d0 |
--- guile-2.0.9/libguile/scmconfig-multilib.h.multilib 2013-07-16 17:02:26.045733704 +0200
|
|
|
3c79d0 |
+++ guile-2.0.9/libguile/scmconfig-multilib.h 2013-07-16 17:01:51.623685971 +0200
|
|
|
3c79d0 |
@@ -0,0 +1,7 @@
|
|
|
3c79d0 |
+/* multilib clean wrapper */
|
|
|
3c79d0 |
+#include <bits/wordsize.h>
|
|
|
3c79d0 |
+#if __WORDSIZE == 32
|
|
|
3c79d0 |
+#include "libguile/scmconfig-32.h"
|
|
|
3c79d0 |
+#else
|
|
|
3c79d0 |
+#include "libguile/scmconfig-64.h"
|
|
|
3c79d0 |
+#endif
|
|
|
3c79d0 |
diff -up guile-2.0.9/meta/guile-config.in.multilib guile-2.0.9/meta/guile-config.in
|
|
|
3c79d0 |
--- guile-2.0.9/meta/guile-config.in.multilib 2012-07-02 11:28:14.000000000 +0200
|
|
|
3c79d0 |
+++ guile-2.0.9/meta/guile-config.in 2013-07-16 17:09:25.650324597 +0200
|
|
|
3c79d0 |
@@ -1,7 +1,6 @@
|
|
|
3c79d0 |
#!/bin/sh
|
|
|
3c79d0 |
-PKG_CONFIG_PATH="@pkgconfigdir@:$PKG_CONFIG_PATH"
|
|
|
3c79d0 |
GUILE_AUTO_COMPILE=0
|
|
|
3c79d0 |
-export PKG_CONFIG_PATH GUILE_AUTO_COMPILE
|
|
|
3c79d0 |
+export GUILE_AUTO_COMPILE
|
|
|
3c79d0 |
|
|
|
3c79d0 |
exec "@installed_guile@" -e main -s $0 "$@"
|
|
|
3c79d0 |
!#
|
|
|
3c79d0 |
@@ -31,7 +30,7 @@ exec "@installed_guile@" -e main -s $0 "
|
|
|
3c79d0 |
(ice-9 rdelim))
|
|
|
3c79d0 |
|
|
|
3c79d0 |
|
|
|
3c79d0 |
-(define %pkg-config-program "@PKG_CONFIG@")
|
|
|
3c79d0 |
+(define %pkg-config-program "pkg-config")
|
|
|
3c79d0 |
|
|
|
3c79d0 |
;;;; main function, command-line processing
|
|
|
3c79d0 |
|