[oe-commits] [meta-openembedded] branch master-next updated: nodejs: install gen-regexp-special-case only when icu is enabled

git at git.openembedded.org git at git.openembedded.org
Thu Mar 12 16:58:03 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

The following commit(s) were added to refs/heads/master-next by this push:
     new e331ce0  nodejs: install gen-regexp-special-case only when icu is enabled
e331ce0 is described below

commit e331ce08e417859a7e8028cd691a6674cf6ed1d9
Author: Jaga <jagadheesan_duraisamy at comcast.com>
AuthorDate: Thu Mar 12 15:49:21 2020 +0000

    nodejs: install gen-regexp-special-case only when icu is enabled
    
    Fixes install errors when icu packageconfig is disabled
    
    Signed-off-by: Jaga <jagadheesan_duraisamy at comcast.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb b/meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb
index 1ea438c..a482c6b 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb
@@ -138,7 +138,9 @@ do_install_append_class-native() {
     install -d ${D}${bindir}
     install -m 0755 ${S}/out/Release/torque ${D}${bindir}/torque
     install -m 0755 ${S}/out/Release/bytecode_builtins_list_generator ${D}${bindir}/bytecode_builtins_list_generator
-    install -m 0755 ${S}/out/Release/gen-regexp-special-case ${D}${bindir}/gen-regexp-special-case
+    if ${@bb.utils.contains('PACKAGECONFIG','icu','true','false',d)}; then
+        install -m 0755 ${S}/out/Release/gen-regexp-special-case ${D}${bindir}/gen-regexp-special-case
+    fi
     install -m 0755 ${S}/out/Release/mkcodecache ${D}${bindir}/mkcodecache
     install -m 0755 ${S}/out/Release/node_mksnapshot ${D}${bindir}/node_mksnapshot
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list