File shared-mime-info-1.0-use-uninstalled.patch of Package mingw-shared-mime-info

From f1161f4a30485dfa14630d8fdf421dc1d9a381ec Mon Sep 17 00:00:00 2001
From: Hib Eris <hib@hiberis.nl>
Date: Thu, 3 Nov 2011 13:58:26 +0100
Subject: [PATCH 3/4] Use non-installed update-mime-database in install-data-hook

---
 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 5242b86..02a74e5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -48,7 +48,7 @@ $(pkgconfig_DATA): config.status
 
 install-data-hook: install-binPROGRAMS
 if ENABLE_UPDATE_MIMEDB
-	$(DESTDIR)"$(bindir)/update-mime-database$(EXEEXT)" -V "$(DESTDIR)$(datadir)/mime"
+	$(top_builddir)/update-mime-database$(EXEEXT) -V "$(DESTDIR)$(datadir)/mime"
 endif
 
 uninstall-hook:
-- 
1.7.4.1