Patchwork [meta-oe] nodejs: export DESTDIR to fix build with dash

login
register
mail settings
Submitter Martin Jansa
Date Feb. 3, 2013, 4:23 p.m.
Message ID <1359908629-28218-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/43867/
State Accepted, archived
Commit 4128325a4c87bcde6ac6ffe5dbf5d6d057ee4804
Headers show

Comments

Martin Jansa - Feb. 3, 2013, 4:23 p.m.
* 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@gmail.com>
---
 meta-oe/recipes-devtools/nodejs/nodejs_0.6.21.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_0.6.21.bb b/meta-oe/recipes-devtools/nodejs/nodejs_0.6.21.bb
index 588a704..3d034f2 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_0.6.21.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_0.6.21.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 "