From 2aaf54449e1abbe8d58be126a8b79b617e2ba551 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Mon, 8 Nov 2010 13:59:35 +0000
Subject: [PATCH]  - compile w3m with locally delivered libraries  - hack
 compilation process a bit to avoid not needed gettext dependency

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40041 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/software-profiles/w3m.cfg | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git a/buildout/software-profiles/w3m.cfg b/buildout/software-profiles/w3m.cfg
index 4b3a6d5a77..e38e9596c4 100644
--- a/buildout/software-profiles/w3m.cfg
+++ b/buildout/software-profiles/w3m.cfg
@@ -1,10 +1,28 @@
 [buildout]
-parts = w3m
+extends =
+  ../software-profiles/garbage-collector.cfg
+  ../software-profiles/ncurses.cfg
+  ../software-profiles/openssl.cfg
+
+parts =
+  w3m
 
 [w3m]
 recipe = hexagonit.recipe.cmmi
 md5sum = ba06992d3207666ed1bf2dcf7c72bf58
 url = http://downloads.sourceforge.net/project/w3m/w3m/w3m-0.5.2/w3m-0.5.2.tar.gz
-configure-options = --with-gc=${garbage-collector:location}
+configure-options =
+  --with-gc=${garbage-collector:location}
+  --with-ssl=${openssl:location}
+
+make-options =
+  install-core
+  install-scripts
+
+make-targets =
+  install-core
+  install-scripts
+  
 environment =
-  LDFLAGS =-Wl,-rpath ${garbage-collector:location}/lib
+  CPPFLAGS =-I${ncurses:location}/include/
+  LDFLAGS =-L${ncurses:location}/lib -Wl,-rpath -Wl,${garbage-collector:location}/lib -Wl,-rpath -Wl,${ncurses:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib
-- 
2.30.9