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

login
register
mail settings
Submitter Martin Jansa
Date Feb. 4, 2013, 11:31 a.m.
Message ID <1359977464-19529-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/44003/
State Changes Requested, archived
Headers show

Comments

Martin Jansa - Feb. 4, 2013, 11:31 a.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.8.18.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

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 "