aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/shared-mime-info/shared-mime-info/install-data-hook.patch
blob: 262ff7562ce3b51028ed706427e28fdb22fe46e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
fix shared-mime-info build race condition

The definition of install-data-hook in Makefile.am leads
to multiple, overlapping, executions of install-binPROGRAMS
target.  We modify the definition to avoid that.

Upstream-Status: Pending

Signed-off-by: Joe Slater <jslater@windriver.com>

Index: shared-mime-info-1.9/Makefile.am
===================================================================
--- shared-mime-info-1.9.orig/Makefile.am
+++ shared-mime-info-1.9/Makefile.am
@@ -50,7 +50,9 @@ else
   update_mime_database="$(top_builddir)/update-mime-database$(EXEEXT)"
 endif
 
-install-data-hook: install-binPROGRAMS
+# do NOT make this dependent on anything!
+#
+install-data-hook:
 if ENABLE_UPDATE_MIMEDB
 	$(update_mime_database) -V "$(DESTDIR)$(datadir)/mime"
 endif