aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-05-16 14:00:04 +0800
committermezz <mezz@FreeBSD.org>2005-05-16 14:00:04 +0800
commit647f4ba1739e4006c609990a2e884b77f95b81cc (patch)
tree4e71e5e86bda75d8aa79e39814939c80749634f7 /devel
parent8afcfe065d00bf695192c9fec458bd57e22c14b3 (diff)
downloadfreebsd-ports-gnome-647f4ba1739e4006c609990a2e884b77f95b81cc.tar.gz
freebsd-ports-gnome-647f4ba1739e4006c609990a2e884b77f95b81cc.tar.zst
freebsd-ports-gnome-647f4ba1739e4006c609990a2e884b77f95b81cc.zip
Add patches for Mono and dbus-sharp.
BSD# - Project by: http://www.mono-project.com/Mono:FreeBSD
Diffstat (limited to 'devel')
-rw-r--r--devel/dbus/files/patch-mono_Makefile.in108
-rw-r--r--devel/dbus/files/patch-mono_dbus-sharp.dll.config.in9
-rw-r--r--devel/dbus/files/patch-mono_doc_Makefile.in17
3 files changed, 134 insertions, 0 deletions
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 @@
+ <configuration>
+- <dllmap dll="dbus-1" target="libdbus-1@LIB_PREFIX@.@LT_CURRENT@@LIB_SUFFIX@"/>
+- <dllmap dll="dbus-glib-1" target="libdbus-glib-1@LIB_PREFIX@.@LT_CURRENT@@LIB_SUFFIX@"/>
++ <dllmap dll="dbus-1" target="libdbus-1@LIB_PREFIX@@LIB_SUFFIX@"/>
++ <dllmap dll="dbus-glib-1" target="libdbus-glib-1@LIB_PREFIX@@LIB_SUFFIX@"/>
+ </configuration>
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