diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-21 14:18:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-22 16:54:35 +0000 |
commit | 211aeccc17b532d71938beaca274efcad2e3fb0b (patch) | |
tree | 744dc663e0924fc4685e75b8754fa3b8d98f5f8d /meta/recipes-extended | |
parent | 6211a2bdd32f7b2c8de7a5d75353c0522c8d4230 (diff) | |
download | poky-211aeccc17b532d71938beaca274efcad2e3fb0b.tar.gz |
libuser: Fix case where ${B} != ${S}
Fix out of tree builds and a parallel make race, see the patch header
for details.
(From OE-Core rev: ef259227fc6d8147b493554e381aa196f5a7a96a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/libuser/libuser/fixsepbuild.patch | 26 | ||||
-rw-r--r-- | meta/recipes-extended/libuser/libuser_0.58.bb | 3 |
2 files changed, 28 insertions, 1 deletions
diff --git a/meta/recipes-extended/libuser/libuser/fixsepbuild.patch b/meta/recipes-extended/libuser/libuser/fixsepbuild.patch new file mode 100644 index 0000000000..27e6bc6ff1 --- /dev/null +++ b/meta/recipes-extended/libuser/libuser/fixsepbuild.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Fix out of tree build errors and parallel make issues. The mkdir commands | ||
2 | can race each other. The srcdir variable is a complete path so a ../ prefix makes | ||
3 | no sense. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | RP 2013/03/21 | ||
8 | |||
9 | Index: libuser/docs/Makefile.am | ||
10 | =================================================================== | ||
11 | --- libuser/docs.orig/Makefile.am 2012-11-08 02:25:58.000000000 +0000 | ||
12 | +++ libuser/docs/Makefile.am 2013-03-21 14:15:40.756950231 +0000 | ||
13 | @@ -13,9 +13,9 @@ | ||
14 | < $(srcdir)/libuser.conf.5.in > $@ | ||
15 | |||
16 | sgml/libuser.txt: $(srcdir)/sgml/libuser.sgml | ||
17 | - [ -d sgml ] || mkdir sgml | ||
18 | - cd sgml; sgml2txt ../$(srcdir)/sgml/libuser.sgml | ||
19 | + [ -d sgml ] || mkdir sgml || true | ||
20 | + cd sgml; sgml2txt $(srcdir)/sgml/libuser.sgml | ||
21 | |||
22 | sgml/libuser.html: $(srcdir)/sgml/libuser.sgml | ||
23 | - [ -d sgml ] || mkdir sgml | ||
24 | - cd sgml; sgml2html ../$(srcdir)/sgml/libuser.sgml | ||
25 | + [ -d sgml ] || mkdir sgml || true | ||
26 | + cd sgml; sgml2html $(srcdir)/sgml/libuser.sgml | ||
diff --git a/meta/recipes-extended/libuser/libuser_0.58.bb b/meta/recipes-extended/libuser/libuser_0.58.bb index fbd3dd5bdf..c1fe49deee 100644 --- a/meta/recipes-extended/libuser/libuser_0.58.bb +++ b/meta/recipes-extended/libuser/libuser_0.58.bb | |||
@@ -11,7 +11,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | |||
11 | 11 | ||
12 | SECTION = "base" | 12 | SECTION = "base" |
13 | 13 | ||
14 | SRC_URI = "https://fedorahosted.org/releases/l/i/libuser/libuser-${PV}.tar.xz" | 14 | SRC_URI = "https://fedorahosted.org/releases/l/i/libuser/libuser-${PV}.tar.xz \ |
15 | file://fixsepbuild.patch" | ||
15 | 16 | ||
16 | SRC_URI[md5sum] = "1fc3ef3f3a3955b2d78562ff4daed793" | 17 | SRC_URI[md5sum] = "1fc3ef3f3a3955b2d78562ff4daed793" |
17 | SRC_URI[sha256sum] = "12a0c09d016d80687e04227a00a89e3c056d3b48bfa2444a9028e6474d8e1dbd" | 18 | SRC_URI[sha256sum] = "12a0c09d016d80687e04227a00a89e3c056d3b48bfa2444a9028e6474d8e1dbd" |