diff options
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby_3.0.2.bb')
| -rw-r--r-- | meta/recipes-devtools/ruby/ruby_3.0.2.bb | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/meta/recipes-devtools/ruby/ruby_3.0.2.bb b/meta/recipes-devtools/ruby/ruby_3.0.2.bb index f88e874c7b..a082735574 100644 --- a/meta/recipes-devtools/ruby/ruby_3.0.2.bb +++ b/meta/recipes-devtools/ruby/ruby_3.0.2.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | require ruby.inc | 1 | require ruby.inc |
| 2 | 2 | ||
| 3 | DEPENDS_append_libc-musl = " libucontext" | 3 | DEPENDS:append:libc-musl = " libucontext" |
| 4 | 4 | ||
| 5 | SRC_URI += " \ | 5 | SRC_URI += " \ |
| 6 | file://remove_has_include_macros.patch \ | 6 | file://remove_has_include_macros.patch \ |
| @@ -26,16 +26,16 @@ EXTRA_OECONF = "\ | |||
| 26 | --with-pkg-config=pkg-config \ | 26 | --with-pkg-config=pkg-config \ |
| 27 | " | 27 | " |
| 28 | 28 | ||
| 29 | EXTRA_OECONF_append_libc-musl = "\ | 29 | EXTRA_OECONF:append:libc-musl = "\ |
| 30 | LIBS='-lucontext' \ | 30 | LIBS='-lucontext' \ |
| 31 | ac_cv_func_isnan=yes \ | 31 | ac_cv_func_isnan=yes \ |
| 32 | ac_cv_func_isinf=yes \ | 32 | ac_cv_func_isinf=yes \ |
| 33 | " | 33 | " |
| 34 | 34 | ||
| 35 | EXTRA_OECONF_append_libc-musl_riscv64 = "\ | 35 | EXTRA_OECONF:append:libc-musl:riscv64 = "\ |
| 36 | --with-coroutine=copy \ | 36 | --with-coroutine=copy \ |
| 37 | " | 37 | " |
| 38 | EXTRA_OECONF_append_libc-musl_riscv32 = "\ | 38 | EXTRA_OECONF:append:libc-musl:riscv32 = "\ |
| 39 | --with-coroutine=copy \ | 39 | --with-coroutine=copy \ |
| 40 | " | 40 | " |
| 41 | 41 | ||
| @@ -43,7 +43,7 @@ do_install() { | |||
| 43 | oe_runmake 'DESTDIR=${D}' install | 43 | oe_runmake 'DESTDIR=${D}' install |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | do_install_append_class-target () { | 46 | do_install:append:class-target () { |
| 47 | # Find out rbconfig.rb from .installed.list | 47 | # Find out rbconfig.rb from .installed.list |
| 48 | rbconfig_rb=`grep rbconfig.rb ${B}/.installed.list` | 48 | rbconfig_rb=`grep rbconfig.rb ${B}/.installed.list` |
| 49 | # Remove build host directories | 49 | # Remove build host directories |
| @@ -80,17 +80,17 @@ do_install_ptest () { | |||
| 80 | 80 | ||
| 81 | PACKAGES =+ "${PN}-ri-docs ${PN}-rdoc" | 81 | PACKAGES =+ "${PN}-ri-docs ${PN}-rdoc" |
| 82 | 82 | ||
| 83 | SUMMARY_${PN}-ri-docs = "ri (Ruby Interactive) documentation for the Ruby standard library" | 83 | SUMMARY:${PN}-ri-docs = "ri (Ruby Interactive) documentation for the Ruby standard library" |
| 84 | RDEPENDS_${PN}-ri-docs = "${PN}" | 84 | RDEPENDS:${PN}-ri-docs = "${PN}" |
| 85 | FILES_${PN}-ri-docs += "${datadir}/ri" | 85 | FILES:${PN}-ri-docs += "${datadir}/ri" |
| 86 | 86 | ||
| 87 | SUMMARY_${PN}-rdoc = "RDoc documentation generator from Ruby source" | 87 | SUMMARY:${PN}-rdoc = "RDoc documentation generator from Ruby source" |
| 88 | RDEPENDS_${PN}-rdoc = "${PN}" | 88 | RDEPENDS:${PN}-rdoc = "${PN}" |
| 89 | FILES_${PN}-rdoc += "${libdir}/ruby/*/rdoc ${bindir}/rdoc" | 89 | FILES:${PN}-rdoc += "${libdir}/ruby/*/rdoc ${bindir}/rdoc" |
| 90 | 90 | ||
| 91 | FILES_${PN} += "${datadir}/rubygems" | 91 | FILES:${PN} += "${datadir}/rubygems" |
| 92 | 92 | ||
| 93 | FILES_${PN}-ptest_append_class-target = "\ | 93 | FILES:${PN}-ptest:append:class-target = "\ |
| 94 | ${libdir}/ruby/include \ | 94 | ${libdir}/ruby/include \ |
| 95 | ${libdir}/ruby/${SHRT_VER}.0/*/-test- \ | 95 | ${libdir}/ruby/${SHRT_VER}.0/*/-test- \ |
| 96 | " | 96 | " |
