[oe] [meta-oe] [PATCH] nodejs needs python-native
From c13975829fde23138a35d63f2b641fad0fde8c72 Mon Sep 17 00:00:00 2001 From: Amy Fong amy.f...@windriver.com Date: Tue, 20 May 2014 14:58:54 -0400 Subject: [PATCH] nodejs needs python-native nodejs should use python from python-native package. On some hosts, the default python is missing bz2 support. Signed-off-by: Amy Fong amy.f...@windriver.com --- meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb | 5 - 1 file changed, 4 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..75a9ca4 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb @@ -3,7 +3,7 @@ HOMEPAGE = http://nodejs.org; LICENSE = MIT BSD LIC_FILES_CHKSUM = file://LICENSE;md5=95a589a3257ab7dfe37d8a8379e3c72d -DEPENDS = openssl +DEPENDS = openssl python-native 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 \ @@ -28,6 +28,7 @@ do_configure () { do_compile () { export LD=${CXX} +export PATH=${STAGING_BINDIR_NATIVE}/python-native:$PATH make BUILDTYPE=Release } @@ -40,3 +41,5 @@ RDEPENDS_${PN}_class-native = FILES_${PN} += ${libdir}/node/wafadmin ${libdir}/node_modules ${libdir}/dtrace BBCLASSEXTEND = native + +FILES_${PN} += /usr/lib/* -- 2.0.0.rc0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe] [PATCH] nodejs needs python-native
On Tue, May 20, 2014 at 12:03 PM, Amy Fong amy.f...@windriver.com wrote: -DEPENDS = openssl +DEPENDS = openssl python-native may be it should 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 \ @@ -28,6 +28,7 @@ do_configure () { do_compile () { export LD=${CXX} +export PATH=${STAGING_BINDIR_NATIVE}/python-native:$PATH make BUILDTYPE=Release } @@ -40,3 +41,5 @@ RDEPENDS_${PN}_class-native = FILES_${PN} += ${libdir}/node/wafadmin ${libdir}/node_modules ${libdir}/dtrace BBCLASSEXTEND = native + +FILES_${PN} += /usr/lib/* make it ${libdir}/* here -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe] [PATCH] nodejs needs python-native
On 2014-05-20 13:28, Khem Raj wrote: On Tue, May 20, 2014 at 12:03 PM, Amy Fong amy.f...@windriver.com wrote: -DEPENDS = openssl +DEPENDS = openssl python-native may be it should 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 \ @@ -28,6 +28,7 @@ do_configure () { do_compile () { export LD=${CXX} +export PATH=${STAGING_BINDIR_NATIVE}/python-native:$PATH If you inherit pythonnative, this 'export PATH...' is also not necessary make BUILDTYPE=Release } @@ -40,3 +41,5 @@ RDEPENDS_${PN}_class-native = FILES_${PN} += ${libdir}/node/wafadmin ${libdir}/node_modules ${libdir}/dtrace BBCLASSEXTEND = native + +FILES_${PN} += /usr/lib/* make it ${libdir}/* here -- Gary Thomas | Consulting for the MLB Associates |Embedded world -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel