From 4415751ce937e35f3e6a4aaaf4c64ae0eb95f085 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com>
Date: Mon, 28 Nov 2011 13:58:02 +0100
Subject: [PATCH] nodejs : Add pkgconfig, python

---
 component/nodejs/buildout.cfg | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/component/nodejs/buildout.cfg b/component/nodejs/buildout.cfg
index 9ecfbc281..0cae14289 100644
--- a/component/nodejs/buildout.cfg
+++ b/component/nodejs/buildout.cfg
@@ -1,5 +1,6 @@
 [buildout]
 extends =
+  ../pkgconfig/buildout.cfg
   ../openssl/buildout.cfg
   ../python-2.7/buildout.cfg
   ../zlib/buildout.cfg
@@ -16,9 +17,11 @@ recipe = hexagonit.recipe.cmmi
 url = http://nodejs.org/dist/node-v0.4.12.tar.gz
 md5sum = a6375eaa43db5356bf443e25b828ae16
 configure-options =
-  --with-python=${buildout:executable}
   --openssl-includes=${openssl:location}/include
   --openssl-libpath=${openssl:location}/lib
+make-options = -j1
 environment =
+  PATH=${pkgconfig:location}/bin:${python2.7:location}/bin:%(PATH)s
+  PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig/
   CPPFLAGS=-I${zlib:location}/include
   LDFLAGS=-Wl,-rpath=${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
-- 
2.30.9