From 3ea349ea12f280dc55ee32e17aacbcc4a8af920a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Fri, 22 Apr 2011 13:49:46 +0000
Subject: [PATCH]  - logrotate requires popt for compilation and linking

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

diff --git a/buildout/software-profiles/logrotate.cfg b/buildout/software-profiles/logrotate.cfg
index cfd30bb3fe..e6151464a4 100644
--- a/buildout/software-profiles/logrotate.cfg
+++ b/buildout/software-profiles/logrotate.cfg
@@ -1,4 +1,6 @@
 [buildout]
+extends =
+  popt.cfg
 parts = logrotate
 
 [logrotate]
@@ -7,3 +9,7 @@ url = https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.7.9.tar.gz
 md5sum = eeba9dbca62a9210236f4b83195e4ea5
 configure-command = true
 make-options = PREFIX=${buildout:parts-directory}/${:_buildout_section_name_}
+environment =
+  CPPFLAGS=-I${popt:location}/include
+  LDFLAGS=-L${popt:location}/lib -Wl,-rpath -Wl,${popt:location}/lib
+
-- 
2.30.9