summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mktemp/files/fix-parallel-make.patch
blob: 8c693cc151a98962f631d14a7382247a3bc51c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
This fixes the parallel make install failure

Upstream-Status: Pending

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