]> code.ossystems Code Review - openembedded-core.git/commitdiff
texinfo: update po_document/Makefile.in.in for new gettext
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 14 Jan 2015 06:38:07 +0000 (22:38 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Jan 2015 11:35:24 +0000 (11:35 +0000)
The autotools_do_configure updates po/Makefile.in.in, we also need
update po_document.

Fixed:
 *** error: gettext infrastructure mismatch:
using a Makefile.in.in from gettext version 0.18 but the autoconf macros are from gettext version 0.19

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-extended/texinfo/texinfo_5.2.bb

index cf9dcfd5de0b8c52b62755c6901f2f953c9bf431..d50a86e781d206fbb8d716013586d5b805b01751 100644 (file)
@@ -45,6 +45,12 @@ tex_texinfo = "texmf/tex/texinfo"
 
 inherit gettext autotools
 
+do_configure_prepend () {
+       # autotools_do_configure updates po/Makefile.in.in, we also need
+       # update po_document.
+       cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/po_document/
+}
+
 do_compile_prepend() {
        if [ -d tools ];then
                oe_runmake -C tools/gnulib/lib