diff --git a/buildout/software-profiles/logrotate.cfg b/buildout/software-profiles/logrotate.cfg
index e6151464a4741b495812e6c44f1c09b4c83a3e71..5ec4c6b3bea61b46a8f1b1e2a32b748c7cc1a847 100644
--- a/buildout/software-profiles/logrotate.cfg
+++ b/buildout/software-profiles/logrotate.cfg
@@ -8,8 +8,6 @@ recipe = hexagonit.recipe.cmmi
 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_}
+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
-
+  POPT_DIR=${popt:location}/include -L${popt:location}/lib -Wl,-rpath -Wl,${popt:location}/lib