[oe-commits] Amy Fong : nodejs: Inherit pythonnative

git at git.openembedded.org git at git.openembedded.org
Tue Jun 10 10:30:49 UTC 2014


Module: meta-openembedded.git
Branch: master
Commit: 14af1771aad8e580837189155835f212a401e869
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=14af1771aad8e580837189155835f212a401e869

Author: Amy Fong <amy.fong at windriver.com>
Date:   Tue May 27 12:52:00 2014 -0400

nodejs: Inherit pythonnative

nodejs should use python from python-native package. On some hosts, the
default python is missing bz2 support.

Signed-off-by: Amy Fong <amy.fong at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb b/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb
index 996d68e..839bfa4 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=95a589a3257ab7dfe37d8a8379e3c72d"
 
 DEPENDS = "openssl"
 
+inherit pythonnative
+
 SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz \
            file://0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch \
 "
@@ -38,5 +40,5 @@ do_install () {
 RDEPENDS_${PN} = "curl python-shell python-datetime python-subprocess python-crypt python-textutils python-netclient "
 RDEPENDS_${PN}_class-native = ""
 
-FILES_${PN} += "${libdir}/node/wafadmin ${libdir}/node_modules ${libdir}/dtrace"
+FILES_${PN} += "${libdir}/node/wafadmin ${libdir}/node_modules ${libdir}/dtrace ${libdir}/*"
 BBCLASSEXTEND = "native"



More information about the Openembedded-commits mailing list