summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-10-15 16:31:35 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-17 13:32:24 +0100
commit28c7541582936c84b4c6f9de9a345d1463236167 (patch)
tree85758ca87e2844b6be9755eb887023bf4083bedc
parent182e4768b651e58de5b42f9fb55ae9816b57233b (diff)
downloadopenembedded-core-28c7541582936c84b4c6f9de9a345d1463236167.tar.gz
openembedded-core-28c7541582936c84b4c6f9de9a345d1463236167.tar.bz2
openembedded-core-28c7541582936c84b4c6f9de9a345d1463236167.tar.xz
openembedded-core-28c7541582936c84b4c6f9de9a345d1463236167.zip
mktemp: Add patch to fix parallel make install
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-extended/mktemp/files/fix-parallel-make.patch23
-rw-r--r--meta/recipes-extended/mktemp/mktemp_1.7.bb3
2 files changed, 25 insertions, 1 deletions
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 000000000..8c693cc15
--- /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 d0479ced2..65f542ef0 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"