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.y...@windriver.com>
---
 meta/recipes-extended/texinfo/texinfo_5.2.bb |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-extended/texinfo/texinfo_5.2.bb 
b/meta/recipes-extended/texinfo/texinfo_5.2.bb
index cf9dcfd..d50a86e 100644
--- a/meta/recipes-extended/texinfo/texinfo_5.2.bb
+++ b/meta/recipes-extended/texinfo/texinfo_5.2.bb
@@ -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
-- 
1.7.9.5

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to