From a881b237edcd06e0415a6cdf6d4c456172ad009f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Wed, 24 Nov 2010 17:23:17 +0000
Subject: [PATCH]  - use locally available bzip2 and popt

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40616 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/software-profiles/librsync.cfg | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/buildout/software-profiles/librsync.cfg b/buildout/software-profiles/librsync.cfg
index 968426fc07..cca7dbd81b 100644
--- a/buildout/software-profiles/librsync.cfg
+++ b/buildout/software-profiles/librsync.cfg
@@ -1,4 +1,8 @@
 [buildout]
+extends =
+  ../software-profiles/bzip2.cfg
+  ../software-profiles/popt.cfg
+  ../software-profiles/zlib.cfg
 parts =
   librsync
 
@@ -8,3 +12,6 @@ url = http://downloads.sourceforge.net/sourceforge/librsync/librsync-0.9.7.tar.g
 md5sum = 24cdb6b78f45e0e83766903fd4f6bc84
 configure-options =
   --enable-shared
+environment =
+  CFLAGS=-I${zlib:location}/include -I${bzip2:location}/include -I${popt:location}/include
+  LDFLAGS=-L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -L${bzip2:location}/lib -Wl,-rpath -Wl,${bzip2:location}/lib -L${popt:location}/lib -Wl,-rpath -Wl,${popt:location}/lib
-- 
2.30.9