# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../clearsilver/clearsilver.conf # Copyright (C) 2006 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE 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 --- # permanently disabling ruby beacause of compile errors # disabling java and csharp module (mono support not testet till now) var_append extraconfopt " " "--disable-ruby --disable-java --disable-csharp" # correcting apache path if pkginstalled apache; then var_append extraconfopt ' ' "--with-apache=$SDECFG_PKG_APACHE_PREFIX" var_append CFLAGS ' ' "-I/$SDECFG_PKG_APACHE_PREFIX/include" var_append CPPFLAGS ' ' "-I/$SDECFG_PKG_APACHE_PREFIX/include" var_append LDFLAGS ' ' "-L/$SDECFG_PKG_APACHE_PREFIX/lib" export CPPFLAGS CFLAGS LDFLAGS fi if pkginstalled zlib; then var_append extraconfopt " " "--enable-compression" else var_append extraconfopt " " "--disable-compression" fi # perl module if pkginstalled perl; then var_append extraconfopt " " "--enable-perl" else var_append extraconfopt " " "--disable-perl" fi # python module if pkginstalled python; then pkgprefix -t python PYVER=$( pkgprefix ver python | cut -d'.' -f1,2 ) var_append extraconfopt " " "--enable-python" var_append extraconfopt " " "--with-python=/usr/bin/python$PYVER" else var_append extraconfopt " " "--disable-python" fi # gettext if pkginstalled gettext; then var_append extraconfopt " " "--enable-gettext" fi