# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/clearsilver/clearsilver.conf # Copyright (C) 2004 - 2022 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # 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 version 2. # --- T2-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 PYVER="`python -V 2>&1 | sed 's/Python \([0-9]\.[0-9]\).*/\1/'`" 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