libkarma (0.0.6-4.5) 05_add_karma-sharp_dllmap

Summary

 karma-sharp/Makefile               |    4 ++--
 karma-sharp/karma-sharp.dll.config |    3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

#! /bin/sh /usr/share/dpatch/dpatch-run
## 05_add_karma-sharp_DLLmap.dpatch by Joe Nahmias <jello@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Add dllmap for karma-sharp.dll to find libkarma.

@DPATCH@
diff -urNad libkarma-0.0.6~/karma-sharp/karma-sharp.dll.config libkarma-0.0.6/karma-sharp/karma-sharp.dll.config
--- libkarma-0.0.6~/karma-sharp/karma-sharp.dll.config	1969-12-31 19:00:00.000000000 -0500
+++ libkarma-0.0.6/karma-sharp/karma-sharp.dll.config	2007-01-08 22:37:39.000000000 -0500
@@ -0,0 +1,3 @@
+<configuration>
+<dllmap dll="karma" target="libkarma.so.0" />
+</configuration>
diff -urNad libkarma-0.0.6~/karma-sharp/Makefile libkarma-0.0.6/karma-sharp/Makefile
--- libkarma-0.0.6~/karma-sharp/Makefile	2007-01-08 23:00:11.000000000 -0500
+++ libkarma-0.0.6/karma-sharp/Makefile	2007-01-08 23:00:54.000000000 -0500
@@ -25,10 +25,10 @@
 	karma-sharp.pc.in > karma-sharp.pc
 
 ifdef HAS_MONO
-install: $(ASSEMBLY) karma-sharp.pc
+install: $(ASSEMBLY) karma-sharp.pc $(ASSEMBLY).config
 	../install-sh -d $(DESTDIR)/$(PREFIX)/lib/karma-sharp
 	../install-sh -d $(DESTDIR)/$(PREFIX)/lib/pkgconfig
-	../install-sh -t $(DESTDIR)/$(PREFIX)/lib/karma-sharp $(ASSEMBLY)
+	../install-sh -t $(DESTDIR)/$(PREFIX)/lib/karma-sharp $(ASSEMBLY) $(ASSEMBLY).config
 	../install-sh -t $(DESTDIR)/$(PREFIX)/lib/pkgconfig -m 0644 karma-sharp.pc
 else
 install: