1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/clearsilver/clearsilver.conf
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 # permanently disabling ruby beacause of compile errors
13 # disabling java and csharp module (mono support not testet till now)
14 var_append extraconfopt " " "--disable-ruby --disable-java --disable-csharp"
16 # correcting apache path
17 if pkginstalled apache; then
18 var_append extraconfopt ' ' "--with-apache=$SDECFG_PKG_APACHE_PREFIX"
19 var_append CFLAGS ' ' "-I/$SDECFG_PKG_APACHE_PREFIX/include"
20 var_append CPPFLAGS ' ' "-I/$SDECFG_PKG_APACHE_PREFIX/include"
21 var_append LDFLAGS ' ' "-L/$SDECFG_PKG_APACHE_PREFIX/lib"
22 export CPPFLAGS CFLAGS LDFLAGS
25 if pkginstalled zlib; then
26 var_append extraconfopt " " "--enable-compression"
28 var_append extraconfopt " " "--disable-compression"
32 if pkginstalled perl; then
33 var_append extraconfopt " " "--enable-perl"
35 var_append extraconfopt " " "--disable-perl"
39 if pkginstalled python; then
40 PYVER="`python -V 2>&1 | sed 's/Python \([0-9]\.[0-9]\).*/\1/'`"
41 var_append extraconfopt " " "--enable-python"
42 var_append extraconfopt " " "--with-python=/usr/bin/python$PYVER"
44 var_append extraconfopt " " "--disable-python"
48 if pkginstalled gettext; then
49 var_append extraconfopt " " "--enable-gettext"