From 3474a05de524e27bdba39838c9d1110d65720cd2 Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Mon, 16 May 2005 06:00:04 +0000 Subject: [PATCH] Add patches for Mono and dbus-sharp. BSD# - Project by: http://www.mono-project.com/Mono:FreeBSD --- devel/dbus/files/patch-mono_Makefile.in | 108 ++++++++++++++++++ .../files/patch-mono_dbus-sharp.dll.config.in | 9 ++ devel/dbus/files/patch-mono_doc_Makefile.in | 17 +++ 3 files changed, 134 insertions(+) create mode 100644 devel/dbus/files/patch-mono_Makefile.in create mode 100644 devel/dbus/files/patch-mono_dbus-sharp.dll.config.in create mode 100644 devel/dbus/files/patch-mono_doc_Makefile.in diff --git a/devel/dbus/files/patch-mono_Makefile.in b/devel/dbus/files/patch-mono_Makefile.in new file mode 100644 index 000000000000..532738fbfcff --- /dev/null +++ b/devel/dbus/files/patch-mono_Makefile.in @@ -0,0 +1,108 @@ +--- mono/Makefile.in.orig Fri May 13 02:47:06 2005 ++++ mono/Makefile.in Fri May 13 02:51:15 2005 +@@ -279,7 +279,7 @@ + sharedstatedir = @sharedstatedir@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ +-SUBDIRS = . doc example ++SUBDIRS = . example + TARGET = $(ASSEMBLY) + NOINST_EXES = test-dbus-sharp.exe + ASSEMBLY_NAME = dbus-sharp +@@ -325,6 +325,10 @@ + $(ASSEMBLY).config.in \ + dbus-sharp.snk + ++pkgconfigdir = $(prefix)/libdata/pkgconfig ++pkgconfigDATA_INSTALL = $(INSTALL_DATA) ++pkgconfig_DATA = ../dbus-sharp.pc ++ + all: all-recursive + + .SUFFIXES: +@@ -371,6 +375,23 @@ + distclean-libtool: + -rm -f libtool + uninstall-info-am: ++install-pkgconfigDATA: $(pkgconfig_DATA) ++ @$(NORMAL_INSTALL) ++ test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)" ++ @list='$(pkgconfig_DATA)'; for p in $$list; do \ ++ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ ++ f="`echo $$p | sed -e 's|^.*/||'`"; \ ++ echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ ++ $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ ++ done ++ ++uninstall-pkgconfigDATA: ++ @$(NORMAL_UNINSTALL) ++ @list='$(pkgconfig_DATA)'; for p in $$list; do \ ++ f="`echo $$p | sed -e 's|^.*/||'`"; \ ++ echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ ++ rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ ++ done + + # This directory's subdirectories are mostly independent; you can cd + # into them and run `make' without going through this Makefile. +@@ -549,7 +570,7 @@ + done + check-am: all-am + check: check-recursive +-all-am: Makefile ++all-am: Makefile $(pkgconfig_DATA) + installdirs: installdirs-recursive + installdirs-am: + install: install-recursive +@@ -594,7 +615,7 @@ + + info-am: + +-install-data-am: install-data-local ++install-data-am: install-data-local install-pkgconfigDATA + + install-exec-am: + +@@ -620,7 +641,7 @@ + + ps-am: + +-uninstall-am: uninstall-info-am uninstall-local ++uninstall-am: uninstall-info-am uninstall-local uninstall-pkgconfigDATA + + uninstall-info: uninstall-info-recursive + +@@ -631,12 +652,13 @@ + html-am info info-am install install-am install-data \ + install-data-am install-data-local install-exec \ + install-exec-am install-info install-info-am install-man \ +- install-strip installcheck installcheck-am installdirs \ ++ install-pkgconfigDATA install-strip installcheck \ ++ installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + maintainer-clean-recursive mostlyclean mostlyclean-generic \ + mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ + tags tags-recursive uninstall uninstall-am uninstall-info-am \ +- uninstall-local ++ uninstall-pkgconfigDATA uninstall-local + + + all-am: $(TARGET) +@@ -652,14 +674,14 @@ + + install-data-local: + @if test -n '$(TARGET)'; then \ +- echo "$(GACUTIL) /i $(ASSEMBLY) /f /package dbus-sharp /gacdir $(DESTDIR)$(libdir)"; \ +- $(GACUTIL) /i $(ASSEMBLY) /f /package dbus-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \ ++ echo "$(GACUTIL) /i $(ASSEMBLY) /f /package dbus-sharp /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir)"; \ ++ $(GACUTIL) /i $(ASSEMBLY) /f /package dbus-sharp /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir) || exit 1; \ + fi + + uninstall-local: + @if test -n '$(TARGET)'; then \ +- echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package dbus-sharp /gacdir $(DESTDIR)$(libdir)"; \ +- $(GACUTIL) /u $(ASSEMBLY_NAME) /package dbus-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \ ++ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package dbus-sharp /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir)"; \ ++ $(GACUTIL) /u $(ASSEMBLY_NAME) /package dbus-sharp /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir)|| exit 1; \ + fi + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/devel/dbus/files/patch-mono_dbus-sharp.dll.config.in b/devel/dbus/files/patch-mono_dbus-sharp.dll.config.in new file mode 100644 index 000000000000..b7c0032aad1f --- /dev/null +++ b/devel/dbus/files/patch-mono_dbus-sharp.dll.config.in @@ -0,0 +1,9 @@ +--- mono/dbus-sharp.dll.config.in.orig Sat Mar 12 20:56:29 2005 ++++ mono/dbus-sharp.dll.config.in Wed Apr 13 21:19:06 2005 +@@ -1,4 +1,4 @@ + +- +- ++ ++ + diff --git a/devel/dbus/files/patch-mono_doc_Makefile.in b/devel/dbus/files/patch-mono_doc_Makefile.in new file mode 100644 index 000000000000..49f29bf2b568 --- /dev/null +++ b/devel/dbus/files/patch-mono_doc_Makefile.in @@ -0,0 +1,17 @@ +--- mono/doc/Makefile.in.orig Sun Feb 27 16:41:42 2005 ++++ mono/doc/Makefile.in Sun Feb 27 16:50:51 2005 +@@ -435,10 +435,10 @@ + + + @ENABLE_MONODOC_TRUE@install-data-local: +-@ENABLE_MONODOC_TRUE@ install -d -m 755 $(DESTDIR)/`monodoc --get-sourcesdir` +-@ENABLE_MONODOC_TRUE@ install -m 644 $(srcdir)/dbus-sharp-docs.source $(DESTDIR)/`monodoc --get-sourcesdir` +-@ENABLE_MONODOC_TRUE@ install -m 644 $(srcdir)/dbus-sharp-docs.tree $(DESTDIR)/`monodoc --get-sourcesdir` +-@ENABLE_MONODOC_TRUE@ install -m 644 $(srcdir)/dbus-sharp-docs.zip $(DESTDIR)/`monodoc --get-sourcesdir` ++@ENABLE_MONODOC_TRUE@ install -d -m 755 $(DESTDIR)%%LOCALBASE%%/lib/monodoc/sources ++@ENABLE_MONODOC_TRUE@ install -m 644 $(srcdir)/dbus-sharp-docs.source $(DESTDIR)%%LOCALBASE%%/lib/monodoc/sources ++@ENABLE_MONODOC_TRUE@ install -m 644 $(srcdir)/dbus-sharp-docs.tree $(DESTDIR)%%LOCALBASE%%/lib/monodoc/sources ++@ENABLE_MONODOC_TRUE@ install -m 644 $(srcdir)/dbus-sharp-docs.zip $(DESTDIR)%%LOCALBASE%%/lib/monodoc/sources + + @ENABLE_MONODOC_TRUE@uninstall-local: + @ENABLE_MONODOC_TRUE@ rm -f $(DESTDIR)/`monodoc --get-sourcesdir`/dbus-sharp-docs.source