diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-19 13:03:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-19 14:06:10 +0100 |
commit | ee8d3fb19fb0132812dec2bde1dfb7026deb642d (patch) | |
tree | efa9377f46bd4c8a7828255422e18845bb423c03 /meta/recipes-devtools/bison | |
parent | e2dfa38b4a1b98647c132f484ff05d018629583d (diff) | |
download | ast2050-yocto-poky-ee8d3fb19fb0132812dec2bde1dfb7026deb642d.zip ast2050-yocto-poky-ee8d3fb19fb0132812dec2bde1dfb7026deb642d.tar.gz |
bison: Fix gplv2 version to work with recent gettext
(From OE-Core rev: 4b132d440ed97053dbef5a4deeb39e37e1167def)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/bison')
-rw-r--r-- | meta/recipes-devtools/bison/bison_2.3.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/bison/bison_2.3.bb b/meta/recipes-devtools/bison/bison_2.3.bb index 388476b..86edf3e 100644 --- a/meta/recipes-devtools/bison/bison_2.3.bb +++ b/meta/recipes-devtools/bison/bison_2.3.bb @@ -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 \ |