summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mktemp/files/fix-parallel-make.patch
blob: f3b6dcc34ab376b9115d55f9847fc31370dd44c7 (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
This fixes the parallel make install failure

Upstream-Status: Accepted
http://www.gratisoft.us/bugzilla/show_bug.cgi?id=528

Signed-off-by: Saul Wold <sgw@linux.intel.com>

Index: mktemp-1.7/Makefile.in
===================================================================
--- mktemp-1.7.orig/Makefile.in
+++ mktemp-1.7/Makefile.in
@@ -94,10 +94,10 @@ install-dirs:
 	$(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \
 	    $(DESTDIR)$(mandir)/man1
 
-install-binaries: $(PROG)
+install-binaries: install-dirs $(PROG)
 	$(INSTALL) -m 0555 $(PROG) $(DESTDIR)$(bindir)/$(PROG)
 
-install-man:
+install-man: install-dirs
 	$(INSTALL) -m 0444 $(srcdir)/mktemp.$(mantype) \
 	    $(DESTDIR)$(mandir)/man1/mktemp.1