summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/shared-mime-info/shared-mime-info/parallelmake.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/shared-mime-info/shared-mime-info/parallelmake.patch')
-rw-r--r--meta/recipes-support/shared-mime-info/shared-mime-info/parallelmake.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info/parallelmake.patch b/meta/recipes-support/shared-mime-info/shared-mime-info/parallelmake.patch
new file mode 100644
index 0000000000..9e86a71795
--- /dev/null
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info/parallelmake.patch
@@ -0,0 +1,32 @@
1The Makefile used by shared-mime-info is one big race with the SUBDIRS
2option and the dependency specifically calling make all combining to
3create multiple make instances all of which may try and build targets
4like update-mime-database.
5
6This patch removes those options meaning make can correctly identify
7dependencies and stop itself racing itself.
8
9RP 10/10/2011
10
11Upstream-status: Pending
12
13Index: shared-mime-info-0.91/Makefile.am
14===================================================================
15--- shared-mime-info-0.91.orig/Makefile.am 2011-10-10 21:47:19.834173921 +0100
16+++ shared-mime-info-0.91/Makefile.am 2011-10-10 21:45:57.000000000 +0100
17@@ -1,5 +1,3 @@
18-SUBDIRS=. po
19-
20 INCLUDES = $(ALL_CFLAGS)
21
22 packagesdir = $(datadir)/mime/packages
23@@ -70,8 +68,7 @@
24
25 all: check create-pot
26
27-create-pot:
28- $(MAKE) -C po shared-mime-info.pot
29+create-pot: po
30
31 check: create-pot freedesktop.org.xml update-mime-database check-translations
32 if test -e $(top_builddir)/freedesktop.org.xml; then \