[oe-commits] Martin Jansa : nodejs: export DESTDIR to fix build with dash

git at git.openembedded.org git at git.openembedded.org
Tue Feb 5 10:08:07 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: 4128325a4c87bcde6ac6ffe5dbf5d6d057ee4804
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=4128325a4c87bcde6ac6ffe5dbf5d6d057ee4804

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Sun Feb  3 17:22:09 2013 +0100

nodejs: export DESTDIR to fix build with dash

* 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.6.21.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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 "





More information about the Openembedded-commits mailing list