shared-mime-info/shared-mime-info-fix-parallel-build.patch

34 lines
1.4 KiB
Diff

From 68e31f61f5e50e5222bc05437d1123e932922796 Mon Sep 17 00:00:00 2001
From: Samuli Suominen <ssuominen@gentoo.org>
Date: Mon, 06 Dec 2010 19:46:57 +0000
Subject: Fix parallel build
https://bugs.freedesktop.org/show_bug.cgi?id=32127
---
Index: shared-mime-info-0.90/Makefile.am
===================================================================
--- shared-mime-info-0.90.orig/Makefile.am
+++ shared-mime-info-0.90/Makefile.am
@@ -72,7 +72,7 @@ all: check create-pot
create-pot:
$(MAKE) -C po shared-mime-info.pot
-check: freedesktop.org.xml update-mime-database check-translations
+check: create-pot freedesktop.org.xml update-mime-database check-translations
if test -n $(XMLLINT) ; then \
if test -e $(top_builddir)/freedesktop.org.xml; then \
xmllint --noout --valid $(top_builddir)/freedesktop.org.xml; \
Index: shared-mime-info-0.90/Makefile.in
===================================================================
--- shared-mime-info-0.90.orig/Makefile.in
+++ shared-mime-info-0.90/Makefile.in
@@ -1058,7 +1058,7 @@ all: check create-pot
create-pot:
$(MAKE) -C po shared-mime-info.pot
-check: freedesktop.org.xml update-mime-database check-translations
+check: create-pot freedesktop.org.xml update-mime-database check-translations
if test -n $(XMLLINT) ; then \
if test -e $(top_builddir)/freedesktop.org.xml; then \
xmllint --noout --valid $(top_builddir)/freedesktop.org.xml; \