From b2d6a4b00e77a83a09a19a67f9432ed9f6517d29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Wed, 30 Mar 2011 08:22:10 +0000 Subject: [PATCH] - compile against locally provided zlib git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44771 20353a03-c40f-0410-a6d1-a30d3c3de9de --- buildout/software-profiles/pdftk.cfg | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/buildout/software-profiles/pdftk.cfg b/buildout/software-profiles/pdftk.cfg index 64bd332b6d..f0b5f194b7 100644 --- a/buildout/software-profiles/pdftk.cfg +++ b/buildout/software-profiles/pdftk.cfg @@ -3,7 +3,10 @@ # in how gcj is functional on many operating systems. # Because of this the only way to have portable pdftk profile it is required # to provide working gcj and then have it used for pdftk compilation. -extends = gcc.cfg +extends = + gcc.cfg + zlib.cfg + parts = pdftk [pdftk-patch-download] @@ -27,6 +30,9 @@ download-only = true recipe = hexagonit.recipe.cmmi url = http://sourceforge.net/projects/fastjar/files/fastjar/0.94/fastjar-0.94.tar.gz/download md5sum = 14d4bdfac236e347d806c6743dba48c6 +environment = + CPPFLAGS=-I${zlib:location}/include + LDFLAGS=-L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib [pdftk] recipe = hexagonit.recipe.cmmi -- 2.30.9