diff options
Diffstat (limited to 'poky/meta/recipes-devtools/bison')
-rw-r--r-- | poky/meta/recipes-devtools/bison/bison_3.7.6.bb (renamed from poky/meta/recipes-devtools/bison/bison_3.7.5.bb) | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/poky/meta/recipes-devtools/bison/bison_3.7.5.bb b/poky/meta/recipes-devtools/bison/bison_3.7.6.bb index c8bbea445..a8d57f274 100644 --- a/poky/meta/recipes-devtools/bison/bison_3.7.5.bb +++ b/poky/meta/recipes-devtools/bison/bison_3.7.6.bb @@ -5,7 +5,7 @@ grammars ought to work with Bison with no change. Anyone familiar with Yacc shou little trouble." HOMEPAGE = "http://www.gnu.org/software/bison/" LICENSE = "GPLv3" -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" +LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" SECTION = "devel" DEPENDS = "bison-native flex-native" @@ -13,12 +13,27 @@ SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.xz \ file://add-with-bisonlocaledir.patch \ file://0001-Use-mapped-file-name-for-symbols.patch \ " -SRC_URI[sha256sum] = "e8c53bc5bc396d636622d0f25e31ca92fd53f00b09629f13ef540d564a6b31ab" +SRC_URI[sha256sum] = "67d68ce1e22192050525643fc0a7a22297576682bef6a5c51446903f5aeef3cf" + +inherit autotools gettext texinfo # No point in hardcoding path to m4, just use PATH -EXTRA_OECONF += "M4=m4" +CACHED_CONFIGUREVARS = "ac_cv_path_M4=m4" -inherit autotools gettext texinfo +PACKAGECONFIG ??= "readline ${@ 'textstyle' if d.getVar('USE_NLS') == 'yes' else ''}" +PACKAGECONFIG_class-native ??= "" + +# Make readline and textstyle optional. There are recipie for these, but leave them +# disabled for the native recipe. This prevents host contamination of the native tool. +PACKAGECONFIG[readline] = "--with-libreadline-prefix,--without-libreadline-prefix,readline" +PACKAGECONFIG[textstyle] = "--with-libtextstyle-prefix,--without-libtextstyle-prefix,gettext" + +# Include the cached configure variables, configure is really good at finding +# libreadline, even if we don't want it. +CACHED_CONFIGUREVARS += "${@bb.utils.contains('PACKAGECONFIG', 'readline', '', ' \ + ac_cv_header_readline_history_h=no \ + ac_cv_header_readline_readline_h=no \ + gl_cv_lib_readline=no', d)}" # The automatic m4 path detection gets confused, so force the right value acpaths = "-I ./m4" |