diff --git a/graphic/ghostscript/ghostscript.conf b/graphic/ghostscript/ghostscript.conf index 8d78a5fb2..b796cd565 100644 --- a/graphic/ghostscript/ghostscript.conf +++ b/graphic/ghostscript/ghostscript.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../ghostscript/ghostscript.conf -# Copyright (C) 2010 - 2011 The OpenSDE Project +# Copyright (C) 2010 - 2012 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -21,6 +21,9 @@ if [ "$SDECFG_STATIC" -ne 1 ]; then var_append makeinstopt ' ' 'soinstall' fi +# Force to use system libs +hook_add preconf 9 'rm -rf jpeg libpng zlib jasper expat tiff lcms freetype' + # Force using the systems libtiff if pkginstalled -f libtiff; then var_append extraconfopt ' ' "--with-system-libtiff"