Blame SOURCES/avahi-0.6.30-mono-libdir.patch

6e948a
diff -uNr avahi-0.6.30.old/avahi-sharp/Makefile.am avahi-0.6.30/avahi-sharp/Makefile.am
6e948a
--- avahi-0.6.30.old/avahi-sharp/Makefile.am	2010-06-29 05:30:35.000000000 +0200
6e948a
+++ avahi-0.6.30/avahi-sharp/Makefile.am	2011-11-27 17:03:04.933192204 +0100
6e948a
@@ -73,10 +73,10 @@
6e948a
 endif
6e948a
 
6e948a
 install-data-hook: $(ASSEMBLY)
6e948a
-	$(AM_V_GEN)MONO_SHARED_DIR=. $(GACUTIL) /i $(ASSEMBLY) /package avahi-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
6e948a
+	$(AM_V_GEN)MONO_SHARED_DIR=. $(GACUTIL) /i $(ASSEMBLY) /package avahi-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
6e948a
 
6e948a
 uninstall-hook: $(ASSEMBLY)
6e948a
-	$(AM_V_GEN)MONO_SHARED_DIR=. $(GACUTIL) /u avahi-sharp /package avahi-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
6e948a
+	$(AM_V_GEN)MONO_SHARED_DIR=. $(GACUTIL) /u avahi-sharp /package avahi-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
6e948a
 
6e948a
 endif
6e948a
 endif
6e948a
diff -uNr avahi-0.6.30.old/avahi-sharp/Makefile.in avahi-0.6.30/avahi-sharp/Makefile.in
6e948a
--- avahi-0.6.30.old/avahi-sharp/Makefile.in	2011-04-04 00:10:46.000000000 +0200
6e948a
+++ avahi-0.6.30/avahi-sharp/Makefile.in	2011-11-27 17:06:13.316193244 +0100
6e948a
@@ -615,10 +615,10 @@
6e948a
 @HAVE_DBUS_TRUE@@HAVE_MONODOC_TRUE@@HAVE_MONO_TRUE@	$(AM_V_GEN)$(MDASSEMBLER) --out avahi-sharp-docs --ecma $(srcdir)/en
6e948a
 
6e948a
 @HAVE_DBUS_TRUE@@HAVE_MONO_TRUE@install-data-hook: $(ASSEMBLY)
6e948a
-@HAVE_DBUS_TRUE@@HAVE_MONO_TRUE@	$(AM_V_GEN)MONO_SHARED_DIR=. $(GACUTIL) /i $(ASSEMBLY) /package avahi-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
6e948a
+@HAVE_DBUS_TRUE@@HAVE_MONO_TRUE@	$(AM_V_GEN)MONO_SHARED_DIR=. $(GACUTIL) /i $(ASSEMBLY) /package avahi-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
6e948a
 
6e948a
 @HAVE_DBUS_TRUE@@HAVE_MONO_TRUE@uninstall-hook: $(ASSEMBLY)
6e948a
-@HAVE_DBUS_TRUE@@HAVE_MONO_TRUE@	$(AM_V_GEN)MONO_SHARED_DIR=. $(GACUTIL) /u avahi-sharp /package avahi-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
6e948a
+@HAVE_DBUS_TRUE@@HAVE_MONO_TRUE@	$(AM_V_GEN)MONO_SHARED_DIR=. $(GACUTIL) /u avahi-sharp /package avahi-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
6e948a
 
6e948a
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
6e948a
 # Otherwise a system limit (for SysV at least) may be exceeded.
6e948a
diff -uNr avahi-0.6.30.old/avahi-sharp.pc.in avahi-0.6.30/avahi-sharp.pc.in
6e948a
--- avahi-0.6.30.old/avahi-sharp.pc.in	2010-06-25 02:54:22.000000000 +0200
6e948a
+++ avahi-0.6.30/avahi-sharp.pc.in	2011-11-27 17:00:05.482192846 +0100
6e948a
@@ -5,4 +5,4 @@
6e948a
 Name: avahi-sharp
6e948a
 Description: Mono bindings for the Avahi mDNS/DNS-SD stack
6e948a
 Version: @PACKAGE_VERSION@
6e948a
-Libs: -r:${libdir}/mono/avahi-sharp/avahi-sharp.dll
6e948a
+Libs: -r:${prefix}/lib/mono/avahi-sharp/avahi-sharp.dll
6e948a
diff -uNr avahi-0.6.30.old/avahi-ui-sharp/Makefile.am avahi-0.6.30/avahi-ui-sharp/Makefile.am
6e948a
--- avahi-0.6.30.old/avahi-ui-sharp/Makefile.am	2010-06-29 05:30:35.000000000 +0200
6e948a
+++ avahi-0.6.30/avahi-ui-sharp/Makefile.am	2011-11-27 17:04:59.812193067 +0100
6e948a
@@ -60,10 +60,10 @@
6e948a
 endif
6e948a
 
6e948a
 install-data-hook: $(ASSEMBLY)
6e948a
-	$(GACUTIL) /i $(ASSEMBLY) /package avahi-ui-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
6e948a
+	$(GACUTIL) /i $(ASSEMBLY) /package avahi-ui-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
6e948a
 
6e948a
 uninstall-hook: $(ASSEMBLY)
6e948a
-	$(GACUTIL) /u avahi-ui-sharp /package avahi-ui-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
6e948a
+	$(GACUTIL) /u avahi-ui-sharp /package avahi-ui-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
6e948a
 
6e948a
 endif
6e948a
 endif
6e948a
diff -uNr avahi-0.6.30.old/avahi-ui-sharp/Makefile.in avahi-0.6.30/avahi-ui-sharp/Makefile.in
6e948a
--- avahi-0.6.30.old/avahi-ui-sharp/Makefile.in	2011-04-04 00:10:46.000000000 +0200
6e948a
+++ avahi-0.6.30/avahi-ui-sharp/Makefile.in	2011-11-27 17:05:54.197220114 +0100
6e948a
@@ -604,10 +604,10 @@
6e948a
 @HAVE_DBUS_TRUE@@HAVE_GTK_TRUE@@HAVE_MONODOC_TRUE@@HAVE_MONO_TRUE@	$(AM_V_GEN)$(MDASSEMBLER) --out avahi-ui-sharp-docs --ecma $(srcdir)/en
6e948a
 
6e948a
 @HAVE_DBUS_TRUE@@HAVE_GTK_TRUE@@HAVE_MONO_TRUE@install-data-hook: $(ASSEMBLY)
6e948a
-@HAVE_DBUS_TRUE@@HAVE_GTK_TRUE@@HAVE_MONO_TRUE@	$(GACUTIL) /i $(ASSEMBLY) /package avahi-ui-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
6e948a
+@HAVE_DBUS_TRUE@@HAVE_GTK_TRUE@@HAVE_MONO_TRUE@	$(GACUTIL) /i $(ASSEMBLY) /package avahi-ui-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
6e948a
 
6e948a
 @HAVE_DBUS_TRUE@@HAVE_GTK_TRUE@@HAVE_MONO_TRUE@uninstall-hook: $(ASSEMBLY)
6e948a
-@HAVE_DBUS_TRUE@@HAVE_GTK_TRUE@@HAVE_MONO_TRUE@	$(GACUTIL) /u avahi-ui-sharp /package avahi-ui-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
6e948a
+@HAVE_DBUS_TRUE@@HAVE_GTK_TRUE@@HAVE_MONO_TRUE@	$(GACUTIL) /u avahi-ui-sharp /package avahi-ui-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
6e948a
 
6e948a
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
6e948a
 # Otherwise a system limit (for SysV at least) may be exceeded.
6e948a
diff -uNr avahi-0.6.30.old/avahi-ui-sharp.pc.in avahi-0.6.30/avahi-ui-sharp.pc.in
6e948a
--- avahi-0.6.30.old/avahi-ui-sharp.pc.in	2010-06-25 02:54:22.000000000 +0200
6e948a
+++ avahi-0.6.30/avahi-ui-sharp.pc.in	2011-11-27 17:04:05.077192737 +0100
6e948a
@@ -6,4 +6,4 @@
6e948a
 Description: Mono bindings for the Avahi mDNS/DNS-SD stack
6e948a
 Version: @PACKAGE_VERSION@
6e948a
 Requires: gtk-sharp-2.0
6e948a
-Libs: -r:${libdir}/mono/avahi-ui-sharp/avahi-ui-sharp.dll
6e948a
+Libs: -r:${prefix}/lib/mono/avahi-ui-sharp/avahi-ui-sharp.dll