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-21 17:04:56 +0000 |
commit | ef259227fc6d8147b493554e381aa196f5a7a96a (patch) | |
tree | 82021057fa8ac97fe2370c7ab3aba255294b49f4 /meta/recipes-extended/libuser/libuser | |
parent | f9970aa0a44aca8ffe6c7a6a3261887fb0db38d2 (diff) | |
download | openembedded-core-ef259227fc6d8147b493554e381aa196f5a7a96a.tar.gz |
libuser: Fix case where ${B} != ${S}
Fix out of tree builds and a parallel make race, see the patch header
for details.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libuser/libuser')
-rw-r--r-- | meta/recipes-extended/libuser/libuser/fixsepbuild.patch | 26 |
1 files changed, 26 insertions, 0 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 @@ +Fix out of tree build errors and parallel make issues. The mkdir commands +can race each other. The srcdir variable is a complete path so a ../ prefix makes +no sense. + +Upstream-Status: Pending + +RP 2013/03/21 + +Index: libuser/docs/Makefile.am +=================================================================== +--- libuser/docs.orig/Makefile.am 2012-11-08 02:25:58.000000000 +0000 ++++ libuser/docs/Makefile.am 2013-03-21 14:15:40.756950231 +0000 +@@ -13,9 +13,9 @@ + < $(srcdir)/libuser.conf.5.in > $@ + + sgml/libuser.txt: $(srcdir)/sgml/libuser.sgml +- [ -d sgml ] || mkdir sgml +- cd sgml; sgml2txt ../$(srcdir)/sgml/libuser.sgml ++ [ -d sgml ] || mkdir sgml || true ++ cd sgml; sgml2txt $(srcdir)/sgml/libuser.sgml + + sgml/libuser.html: $(srcdir)/sgml/libuser.sgml +- [ -d sgml ] || mkdir sgml +- cd sgml; sgml2html ../$(srcdir)/sgml/libuser.sgml ++ [ -d sgml ] || mkdir sgml || true ++ cd sgml; sgml2html $(srcdir)/sgml/libuser.sgml |