summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/flex/flex_2.6.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/flex/flex_2.6.4.bb')
-rw-r--r--meta/recipes-devtools/flex/flex_2.6.4.bb14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-devtools/flex/flex_2.6.4.bb b/meta/recipes-devtools/flex/flex_2.6.4.bb
index 54e7e01729..56f5b742e2 100644
--- a/meta/recipes-devtools/flex/flex_2.6.4.bb
+++ b/meta/recipes-devtools/flex/flex_2.6.4.bb
@@ -4,7 +4,7 @@ lexical patterns in text."
4HOMEPAGE = "http://sourceforge.net/projects/flex/" 4HOMEPAGE = "http://sourceforge.net/projects/flex/"
5SECTION = "devel" 5SECTION = "devel"
6LICENSE = "BSD-3-Clause & LGPL-2.0+" 6LICENSE = "BSD-3-Clause & LGPL-2.0+"
7LICENSE_${PN}-libfl = "BSD-3-Clause" 7LICENSE:${PN}-libfl = "BSD-3-Clause"
8 8
9DEPENDS = "${@bb.utils.contains('PTEST_ENABLED', '1', 'bison-native flex-native', '', d)}" 9DEPENDS = "${@bb.utils.contains('PTEST_ENABLED', '1', 'bison-native flex-native', '', d)}"
10BBCLASSEXTEND = "native nativesdk" 10BBCLASSEXTEND = "native nativesdk"
@@ -31,26 +31,26 @@ UPSTREAM_CHECK_REGEX = "flex-(?P<pver>\d+(\.\d+)+)\.tar"
31inherit autotools gettext texinfo ptest 31inherit autotools gettext texinfo ptest
32 32
33M4 = "${bindir}/m4" 33M4 = "${bindir}/m4"
34M4_class-native = "${STAGING_BINDIR_NATIVE}/m4" 34M4:class-native = "${STAGING_BINDIR_NATIVE}/m4"
35EXTRA_OECONF += "ac_cv_path_M4=${M4} ac_cv_func_reallocarray=no" 35EXTRA_OECONF += "ac_cv_path_M4=${M4} ac_cv_func_reallocarray=no"
36EXTRA_OEMAKE += "m4=${STAGING_BINDIR_NATIVE}/m4" 36EXTRA_OEMAKE += "m4=${STAGING_BINDIR_NATIVE}/m4"
37 37
38EXTRA_OEMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', 'FLEX=${STAGING_BINDIR_NATIVE}/flex', '', d)}" 38EXTRA_OEMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', 'FLEX=${STAGING_BINDIR_NATIVE}/flex', '', d)}"
39 39
40do_install_append_class-native() { 40do_install:append:class-native() {
41 create_wrapper ${D}/${bindir}/flex M4=${M4} 41 create_wrapper ${D}/${bindir}/flex M4=${M4}
42} 42}
43 43
44do_install_append_class-nativesdk() { 44do_install:append:class-nativesdk() {
45 create_wrapper ${D}/${bindir}/flex M4=${M4} 45 create_wrapper ${D}/${bindir}/flex M4=${M4}
46} 46}
47 47
48PACKAGES =+ "${PN}-libfl" 48PACKAGES =+ "${PN}-libfl"
49 49
50FILES_${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*" 50FILES:${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*"
51 51
52RDEPENDS_${PN} += "m4" 52RDEPENDS:${PN} += "m4"
53RDEPENDS_${PN}-ptest += "bash gawk make" 53RDEPENDS:${PN}-ptest += "bash gawk make"
54 54
55do_compile_ptest() { 55do_compile_ptest() {
56 oe_runmake -C ${B}/tests -f ${B}/tests/Makefile top_builddir=${B} INCLUDES=-I${S}/src buildtests 56 oe_runmake -C ${B}/tests -f ${B}/tests/Makefile top_builddir=${B} INCLUDES=-I${S}/src buildtests