nodejs: export DESTDIR to fix build with dash
authorMartin Jansa <Martin.Jansa@gmail.com>
Sun, 3 Feb 2013 16:22:09 +0000 (17:22 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:27:56 +0000 (08:27 -0800)
* 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

(From meta-openembedded rev: 4128325a4c87bcde6ac6ffe5dbf5d6d057ee4804)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.6.21.bb

index 588a704..3d034f2 100644 (file)
@@ -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 "