ndesk-dbus-glib/build-fix.patch

33 lines
1021 B
Diff

--- glib/Makefile
+++ glib/Makefile
@@ -1,19 +1,11 @@
-DBUS_SHARP_PREFIX=../../dbus-sharp
-
-# See How Not to Use VPATH: http://make.paulandlesley.org/vpath.html
-VPATH=$(DBUS_SHARP_PREFIX)/src
-
-#Note that this makefile isn't healthy, but it works for me
-#Makefile bug: doesn't seem to work with make -B
-
#.PHONY: all
all: NDesk.DBus.GLib.dll
-NDesk.DBus.GLib.dll: NDesk.DBus.dll AssemblyInfo.cs GLib.IO.cs GLib.cs ../ndesk.snk
+NDesk.DBus.GLib.dll: AssemblyInfo.cs GLib.IO.cs GLib.cs ../ndesk.snk
.PHONY:
install: NDesk.DBus.GLib.dll
$(GACUTIL) $(GACUTIL_FLAGS) -i NDesk.DBus.GLib.dll -f -package ndesk-dbus-glib-1.0
-include $(DBUS_SHARP_PREFIX)/include.mk
+include ../include.mk
--- ndesk-dbus-glib-1.0.pc.in
+++ ndesk-dbus-glib-1.0.pc.in
@@ -6,4 +6,4 @@
Description: GLib integration for NDesk.DBus, the D-Bus IPC library
Version: 0.3.0
Requires: ndesk-dbus-1.0
-Libs: -r:${libdir}/mono/lib/ndesk-dbus-glib-1.0/NDesk.DBus.GLib.dll
+Libs: -r:${libdir}/mono/ndesk-dbus-glib-1.0/NDesk.DBus.GLib.dll