# --- SDE-COPYRIGHT-NOTE-BEGIN ---# This copyright note is auto-generated by ./scripts/Create-CopyPatch.## Filename: package/.../ghostscript/ghostscript.conf# Copyright (C) 2010 - 2012 The OpenSDE Project## More information can be found in the files COPYING and README.## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; version 2 of the License. A copy of the# GNU General Public License can be found in the file COPYING.# --- SDE-COPYRIGHT-NOTE-END --- if [ "$SDECFG_STATIC" -ne 1 ]; then # Enable dynamically loaded drivers var_append extraconfopt ' ' "--enable-dynamic" #enable shared libraries instalation var_append makeopt ' ' 'so' var_append makeinstopt ' ' 'soinstall'fi # Force to use system libshook_add preconf 9 'rm -rf jpeg libpng zlib jasper expat tiff lcms freetype' # Force using the systems libtiffif pkginstalled -f libtiff; then var_append extraconfopt ' ' "--with-system-libtiff"fi # enable all driversvar_append extraconfopt ' ' "--with-drivers=ALL"
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ghostscript/ghostscript.conf
# Copyright (C) 2010 - 2012 The OpenSDE Project
# More information can be found in the files COPYING and README.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if [ "$SDECFG_STATIC" -ne 1 ]; then
# Enable dynamically loaded drivers
var_append extraconfopt ' ' "--enable-dynamic"
#enable shared libraries instalation
var_append makeopt ' ' 'so'
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"
# enable all drivers
var_append extraconfopt ' ' "--with-drivers=ALL"