From ac7b5014cfb44b0b47adf24fa1f04152a36e142a Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 13 Jan 2015 22:38:07 -0800 Subject: texinfo: update po_document/Makefile.in.in for new gettext 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 --- meta/recipes-extended/texinfo/texinfo_5.2.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta/recipes-extended/texinfo') diff --git a/meta/recipes-extended/texinfo/texinfo_5.2.bb b/meta/recipes-extended/texinfo/texinfo_5.2.bb index cf9dcfd5de..d50a86e781 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 -- cgit 1.2.3-korg