mono.patch 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Crual hack to get Mono packaged, at least partly. As of Mono 0.91, the
  2. "make install" fails in runtime/net_*/ dirs with the error "Unhandled
  3. Exception: System.DllNotFoundException: libc". The following patch just
  4. skips this install step -- as a side-effect some essential parts of the
  5. package might be missing.
  6. Index: runtime/net_1_1/Makefile.in
  7. --- runtime/net_1_1/Makefile.in.orig 2004-05-04 23:51:12.000000000 +0200
  8. +++ runtime/net_1_1/Makefile.in 2004-05-07 11:36:45.000000000 +0200
  9. @@ -354,12 +354,6 @@
  10. all-local: $(gac_assemblies)
  11. install-data-local:
  12. - @if test -n '$(gac_assemblies)'; then \
  13. - for i in ''$(gac_assemblies); do \
  14. - echo "MONO_PATH=$(srcdir) $(mono_runtime) --config ../../data/config $(gacutil) /i $(srcdir)/$$i /f /package 1.0 /root $(DESTDIR)$(libdir)" ; \
  15. - MONO_PATH=$(srcdir) \
  16. - $(LIBTOOL) --mode=execute $(mono_runtime) --config ../../data/config $(gacutil) /i $(srcdir)/$$i /f /package 1.0 /root $(DESTDIR)$(libdir) || exit 1 ; \
  17. - done; fi
  18. uninstall-local:
  19. @if test -n '$(gac_assemblies_list)'; then \
  20. Index: runtime/net_2_0/Makefile.in
  21. --- runtime/net_2_0/Makefile.in.orig 2004-05-04 23:51:13.000000000 +0200
  22. +++ runtime/net_2_0/Makefile.in 2004-05-07 11:36:56.000000000 +0200
  23. @@ -355,12 +355,6 @@
  24. all-local: $(gac_assemblies)
  25. install-data-local:
  26. - @if test -n '$(gac_assemblies)'; then \
  27. - for i in ''$(gac_assemblies); do \
  28. - echo "MONO_PATH=$(srcdir)/../net_1_1 $(mono_runtime) --config ../../data/config $(gacutil) /i $(srcdir)/$$i /f /package 2.0 /root $(DESTDIR)$(libdir)" ; \
  29. - MONO_PATH=$(srcdir)/../net_1_1 \
  30. - $(LIBTOOL) --mode=execute $(mono_runtime) --config ../../data/config $(gacutil) /i $(srcdir)/$$i /f /package 2.0 /root $(DESTDIR)$(libdir) || exit 1 ; \
  31. - done; fi
  32. uninstall-local:
  33. @if test -n '$(gac_assemblies_list)'; then \