Patchwork [CONSOLIDATED,PULL,13/14] mktemp: Add patch to fix parallel make install

login
register
mail settings
Submitter Saul Wold
Date Oct. 16, 2011, 7:46 a.m.
Message ID <619b2797b7eb857336fcc1ebcc59ef13d860fb0d.1318751027.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/13265/
State New, archived
Headers show

Comments

Saul Wold - Oct. 16, 2011, 7:46 a.m.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../mktemp/files/fix-parallel-make.patch           |   23 ++++++++++++++++++++
 meta/recipes-extended/mktemp/mktemp_1.7.bb         |    3 +-
 2 files changed, 25 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-extended/mktemp/files/fix-parallel-make.patch

Patch

diff --git a/meta/recipes-extended/mktemp/files/fix-parallel-make.patch b/meta/recipes-extended/mktemp/files/fix-parallel-make.patch
new file mode 100644
index 0000000..30b8741
--- /dev/null
+++ b/meta/recipes-extended/mktemp/files/fix-parallel-make.patch
@@ -0,0 +1,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
+ 
diff --git a/meta/recipes-extended/mktemp/mktemp_1.7.bb b/meta/recipes-extended/mktemp/mktemp_1.7.bb
index d0479ce..65f542e 100644
--- a/meta/recipes-extended/mktemp/mktemp_1.7.bb
+++ b/meta/recipes-extended/mktemp/mktemp_1.7.bb
@@ -5,10 +5,11 @@  SECTION = "console/utils"
 LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=430680f6322a1eb87199b5e01a82c0d4"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "ftp://ftp.mktemp.org/pub/mktemp/${BPN}-${PV}.tar.gz \
         file://disable-strip.patch \
+        file://fix-parallel-make.patch \
         "
 
 SRC_URI[md5sum] = "787bbed9fa2ee8e7645733c0e8e65172"