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

4cb3cb
diff -uNr avahi-0.6.30.old/avahi-sharp/Makefile.am avahi-0.6.30/avahi-sharp/Makefile.am
4cb3cb
--- avahi-0.6.30.old/avahi-sharp/Makefile.am	2010-06-29 05:30:35.000000000 +0200
4cb3cb
+++ avahi-0.6.30/avahi-sharp/Makefile.am	2011-11-27 17:03:04.933192204 +0100
4cb3cb
@@ -73,10 +73,10 @@
4cb3cb
 endif
4cb3cb
 
4cb3cb
 install-data-hook: $(ASSEMBLY)
4cb3cb
-	$(AM_V_GEN)MONO_SHARED_DIR=. $(GACUTIL) /i $(ASSEMBLY) /package avahi-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
4cb3cb
+	$(AM_V_GEN)MONO_SHARED_DIR=. $(GACUTIL) /i $(ASSEMBLY) /package avahi-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
4cb3cb
 
4cb3cb
 uninstall-hook: $(ASSEMBLY)
4cb3cb
-	$(AM_V_GEN)MONO_SHARED_DIR=. $(GACUTIL) /u avahi-sharp /package avahi-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
4cb3cb
+	$(AM_V_GEN)MONO_SHARED_DIR=. $(GACUTIL) /u avahi-sharp /package avahi-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
4cb3cb
 
4cb3cb
 endif
4cb3cb
 endif
4cb3cb
diff -uNr avahi-0.6.30.old/avahi-sharp.pc.in avahi-0.6.30/avahi-sharp.pc.in
4cb3cb
--- avahi-0.6.30.old/avahi-sharp.pc.in	2010-06-25 02:54:22.000000000 +0200
4cb3cb
+++ avahi-0.6.30/avahi-sharp.pc.in	2011-11-27 17:00:05.482192846 +0100
4cb3cb
@@ -5,4 +5,4 @@
4cb3cb
 Name: avahi-sharp
4cb3cb
 Description: Mono bindings for the Avahi mDNS/DNS-SD stack
4cb3cb
 Version: @PACKAGE_VERSION@
4cb3cb
-Libs: -r:${libdir}/mono/avahi-sharp/avahi-sharp.dll
4cb3cb
+Libs: -r:${prefix}/lib/mono/avahi-sharp/avahi-sharp.dll
4cb3cb
diff -uNr avahi-0.6.30.old/avahi-ui-sharp/Makefile.am avahi-0.6.30/avahi-ui-sharp/Makefile.am
4cb3cb
--- avahi-0.6.30.old/avahi-ui-sharp/Makefile.am	2010-06-29 05:30:35.000000000 +0200
4cb3cb
+++ avahi-0.6.30/avahi-ui-sharp/Makefile.am	2011-11-27 17:04:59.812193067 +0100
4cb3cb
@@ -60,10 +60,10 @@
4cb3cb
 endif
4cb3cb
 
4cb3cb
 install-data-hook: $(ASSEMBLY)
4cb3cb
-	$(GACUTIL) /i $(ASSEMBLY) /package avahi-ui-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
4cb3cb
+	$(GACUTIL) /i $(ASSEMBLY) /package avahi-ui-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
4cb3cb
 
4cb3cb
 uninstall-hook: $(ASSEMBLY)
4cb3cb
-	$(GACUTIL) /u avahi-ui-sharp /package avahi-ui-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
4cb3cb
+	$(GACUTIL) /u avahi-ui-sharp /package avahi-ui-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
4cb3cb
 
4cb3cb
 endif
4cb3cb
 endif
4cb3cb
diff -uNr avahi-0.6.30.old/avahi-ui-sharp.pc.in avahi-0.6.30/avahi-ui-sharp.pc.in
4cb3cb
--- avahi-0.6.30.old/avahi-ui-sharp.pc.in	2010-06-25 02:54:22.000000000 +0200
4cb3cb
+++ avahi-0.6.30/avahi-ui-sharp.pc.in	2011-11-27 17:04:05.077192737 +0100
4cb3cb
@@ -6,4 +6,4 @@
4cb3cb
 Description: Mono bindings for the Avahi mDNS/DNS-SD stack
4cb3cb
 Version: @PACKAGE_VERSION@
4cb3cb
 Requires: gtk-sharp-2.0
4cb3cb
-Libs: -r:${libdir}/mono/avahi-ui-sharp/avahi-ui-sharp.dll
4cb3cb
+Libs: -r:${prefix}/lib/mono/avahi-ui-sharp/avahi-ui-sharp.dll