From 6949d2e067011f5011aa61b5476a08feb92d3c5e Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 13 May 2011 12:20:10 +0200 Subject: [PATCH] ghostscript: improved to use systems libtiff if it is effectively installed --- graphic/ghostscript/ghostscript.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/graphic/ghostscript/ghostscript.conf b/graphic/ghostscript/ghostscript.conf index 15559fd1e..e28a628cc 100644 --- a/graphic/ghostscript/ghostscript.conf +++ b/graphic/ghostscript/ghostscript.conf @@ -19,3 +19,8 @@ if [ "$SDECFG_STATIC" -ne 1 ]; then #enable shared libraries instalation var_append makeinstopt ' ' 'soinstall' fi + +# Force using the systems libtiff +if pkginstalled -f libtiff; then + var_append extraconfopt ' ' "--with-system-libtiff" +fi