[oe] [PATCH 1/3] nodejs-0.8.18: export DESTDIR to fix build with dash

Martin Jansa martin.jansa at gmail.com
Mon Feb 4 11:31:02 UTC 2013


* when building on machine with /bin/sh -> /bin/dash
  DESTDIR is empty in install and it's trying to write to /usr/include and fails

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb | 3 ++-
 1 file changed, 2 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 9b39251..1a1c66b 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb
@@ -54,7 +54,8 @@ do_compile () {
 }
 
 do_install () {
-  DESTDIR=${D} oe_runmake install
+  export DESTDIR=${D}
+  oe_runmake install
 }
 
 RDEPENDS_${PN} = "curl python-shell python-datetime python-subprocess python-crypt python-textutils python-netclient "
-- 
1.8.1.2





More information about the Openembedded-devel mailing list