Re: [oe] [meta-oe] [PATCH] nodejs needs python-native

2014-05-20 Thread Khem Raj
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

2014-05-20 Thread Gary Thomas

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