bison: Fix gplv2 version to work with recent gettext

(From OE-Core rev: 4b132d440ed97053dbef5a4deeb39e37e1167def)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2012-10-19 13:03:32 +00:00
parent e2dfa38b4a
commit ee8d3fb19f
1 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,11 @@ SRC_URI_virtclass-native = "${BASE_SRC_URI}"
inherit autotools gettext
acpaths = "-I ${S}/m4"
do_configure_prepend () {
rm -f ${S}/m4/*gl.m4
cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/runtime-po/
}
do_install_append_virtclass-native() {
create_wrapper ${D}/${bindir}/bison \
M4=${STAGING_BINDIR_NATIVE}/m4 \