diff --git a/buildout/software-profiles/varnish.cfg b/buildout/software-profiles/varnish.cfg index 528ab389f93526f7a3de016125684270cf2d8b94..c40050efbb1f3fd61ce828fd45f1304637fbf987 100644 --- a/buildout/software-profiles/varnish.cfg +++ b/buildout/software-profiles/varnish.cfg @@ -6,6 +6,9 @@ parts = varnish varnish-2.1 +extends = + ../software-profiles/pcre.cfg + [varnish] <= varnish-2.0 @@ -27,5 +30,9 @@ recipe = hexagonit.recipe.cmmi url = http://www.varnish-software.com/sites/default/files/varnish-2.1.4.tar.gz md5sum = e794a37b6fbb786a083c0946103ae103 patch-options = -p4 +configure-options = + --with-pcre-config=${pcre:location}/bin patches = ${varnish-2.1.4-r5467-patch:location}/${varnish-2.1.4-r5467-patch:filename} +environment = + LDFLAGS=-Wl,-rpath -Wl,${pcre:location}/lib