--- Makefile.orig 2016-10-16 13:47:41 UTC +++ Makefile @@ -33,7 +33,7 @@ ALLLIBS = \ UNINSTALLLIBS = $(basename $(ALLLIBS)) -FRAMEWORK_REFS = -r:System.dll -r:System.Xml.dll -r:System.Configuration.dll +FRAMEWORK_REFS = -r:System.dll -r:System.Xml.dll -r:System.Configuration.dll -r:%%LOCALBASE%%/lib/mono/Newtonsoft.Json/Newtonsoft.Json.dll PKGCONFIG_FILES = $(patsubst %.pc.in,%.pc,$(wildcard misc/*.pc.in)) @@ -112,7 +112,7 @@ clean: install: all for i in $(ALLLIBS); do gacutil -i $$i -package GData-Sharp -root "$(DESTDIR)$(PREFIX)/lib"; done install -d "$(DESTDIR)$(PKGCONFIGDIR)" - install -m 644 -t "$(DESTDIR)$(PKGCONFIGDIR)" $(PKGCONFIG_FILES) + install -m 644 $(PKGCONFIG_FILES) $(DESTDIR)$(PKGCONFIGDIR) uninstall: for i in $(UNINSTALLLIBS); do gacutil -u $$i -package GData-Sharp -root "$(DESTDIR)$(PREFIX)/lib"; done