#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_fix_makefile.dpatch by Mirco Bauer <meebey@meebey.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad gfax-0.7.4~/src/Makefile.am gfax-0.7.4/src/Makefile.am
--- gfax-0.7.4~/src/Makefile.am	2005-12-19 20:33:53.000000000 +0100
+++ gfax-0.7.4/src/Makefile.am	2006-02-03 22:05:24.151727192 +0100
@@ -49,10 +49,14 @@
 
 install-data-local: $(TARGET)
 	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
+	$(mkinstalldirs) -m 1777 $(DESTDIR)/var/spool/gfax
+	$(mkinstalldirs) -m 1777 $(DESTDIR)/var/spool/gfax/doneq
+	$(mkinstalldirs) -m 1777 $(DESTDIR)/var/spool/gfax/recq
 	$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(pkglibdir)/$(TARGET)
 
 uninstall-local:
 	rm -f $(DESTDIR)$(pkglibdir)/$(TARGET)
+	rm -rf $(DESTDIR)/var/spool/gfax
 
 EXTRA_DIST =            		\
 	$(srcdir)/Defines.cs.in		\
diff -urNad gfax-0.7.6~/Makefile.am gfax-0.7.6/Makefile.am
--- gfax-0.7.6~/Makefile.am	2006-11-30 02:30:04.000000000 +0100
+++ gfax-0.7.6/Makefile.am	2008-12-03 20:44:21.000000000 +0100
@@ -21,7 +21,6 @@
 	    GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \
 	  done \
 	fi
-	killall -HUP gconfd-2
 else
 install-data-local:
 endif
