summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/bison
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/bison')
-rw-r--r--meta/recipes-devtools/bison/bison_3.7.6.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/bison/bison_3.7.6.bb b/meta/recipes-devtools/bison/bison_3.7.6.bb
index a8d57f2742..c85ae04976 100644
--- a/meta/recipes-devtools/bison/bison_3.7.6.bb
+++ b/meta/recipes-devtools/bison/bison_3.7.6.bb
@@ -21,7 +21,7 @@ inherit autotools gettext texinfo
21CACHED_CONFIGUREVARS = "ac_cv_path_M4=m4" 21CACHED_CONFIGUREVARS = "ac_cv_path_M4=m4"
22 22
23PACKAGECONFIG ??= "readline ${@ 'textstyle' if d.getVar('USE_NLS') == 'yes' else ''}" 23PACKAGECONFIG ??= "readline ${@ 'textstyle' if d.getVar('USE_NLS') == 'yes' else ''}"
24PACKAGECONFIG_class-native ??= "" 24PACKAGECONFIG:class-native ??= ""
25 25
26# Make readline and textstyle optional. There are recipie for these, but leave them 26# Make readline and textstyle optional. There are recipie for these, but leave them
27# disabled for the native recipe. This prevents host contamination of the native tool. 27# disabled for the native recipe. This prevents host contamination of the native tool.
@@ -38,15 +38,15 @@ CACHED_CONFIGUREVARS += "${@bb.utils.contains('PACKAGECONFIG', 'readline', '', '
38# The automatic m4 path detection gets confused, so force the right value 38# The automatic m4 path detection gets confused, so force the right value
39acpaths = "-I ./m4" 39acpaths = "-I ./m4"
40 40
41do_compile_prepend() { 41do_compile:prepend() {
42 for i in mfcalc calc++ rpcalc; do mkdir -p ${B}/examples/$i; done 42 for i in mfcalc calc++ rpcalc; do mkdir -p ${B}/examples/$i; done
43} 43}
44 44
45do_install_append_class-native() { 45do_install:append:class-native() {
46 create_wrapper ${D}/${bindir}/bison \ 46 create_wrapper ${D}/${bindir}/bison \
47 BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison 47 BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison
48} 48}
49do_install_append_class-nativesdk() { 49do_install:append:class-nativesdk() {
50 create_wrapper ${D}/${bindir}/bison \ 50 create_wrapper ${D}/${bindir}/bison \
51 BISON_PKGDATADIR=${datadir}/bison 51 BISON_PKGDATADIR=${datadir}/bison
52} 52}