summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/bison/bison_2.3.bb15
1 files changed, 1 insertions, 14 deletions
diff --git a/meta/recipes-devtools/bison/bison_2.3.bb b/meta/recipes-devtools/bison/bison_2.3.bb
index 174916bcb1..182e8802b2 100644
--- a/meta/recipes-devtools/bison/bison_2.3.bb
+++ b/meta/recipes-devtools/bison/bison_2.3.bb
@@ -11,17 +11,12 @@ DEPENDS = "bison-native flex-native"
11 11
12PR = "r1" 12PR = "r1"
13 13
14BASE_SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \ 14SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \
15 file://bison-2.3_m4.patch" 15 file://bison-2.3_m4.patch"
16 16
17SRC_URI = "${BASE_SRC_URI}"
18
19SRC_URI[md5sum] = "22327efdd5080e2b1acb6e560a04b43a" 17SRC_URI[md5sum] = "22327efdd5080e2b1acb6e560a04b43a"
20SRC_URI[sha256sum] = "52f78aa4761a74ceb7fdf770f3554dd84308c3b93c4255e3a5c17558ecda293e" 18SRC_URI[sha256sum] = "52f78aa4761a74ceb7fdf770f3554dd84308c3b93c4255e3a5c17558ecda293e"
21 19
22DEPENDS_class-native = "gettext-native"
23SRC_URI_class-native = "${BASE_SRC_URI}"
24
25inherit autotools gettext texinfo 20inherit autotools gettext texinfo
26acpaths = "-I ${S}/m4" 21acpaths = "-I ${S}/m4"
27 22
@@ -29,11 +24,3 @@ do_configure_prepend () {
29 rm -f ${S}/m4/*gl.m4 24 rm -f ${S}/m4/*gl.m4
30 cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/runtime-po/ 25 cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/runtime-po/
31} 26}
32
33do_install_append_class-native() {
34 create_wrapper ${D}/${bindir}/bison \
35 M4=${STAGING_BINDIR_NATIVE}/m4 \
36 BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison
37}
38#bison-native encodes the staging M4 path
39BBCLASSEXTEND = "native"