1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../clearsilver/clearsilver.conf
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- T2-COPYRIGHT-NOTE-END ---
15 # permanently disabling ruby beacause of compile errors
16 # disabling java and csharp module (mono support not testet till now)
17 var_append extraconfopt " " "--disable-ruby --disable-java --disable-csharp"
19 # correcting apache path
20 if pkginstalled apache; then
21 var_append extraconfopt ' ' "--with-apache=$SDECFG_PKG_APACHE_PREFIX"
22 var_append CFLAGS ' ' "-I/$SDECFG_PKG_APACHE_PREFIX/include"
23 var_append CPPFLAGS ' ' "-I/$SDECFG_PKG_APACHE_PREFIX/include"
24 var_append LDFLAGS ' ' "-L/$SDECFG_PKG_APACHE_PREFIX/lib"
25 export CPPFLAGS CFLAGS LDFLAGS
28 if pkginstalled zlib; then
29 var_append extraconfopt " " "--enable-compression"
31 var_append extraconfopt " " "--disable-compression"
35 if pkginstalled perl; then
36 var_append extraconfopt " " "--enable-perl"
38 var_append extraconfopt " " "--disable-perl"
42 if pkginstalled python; then
43 PYVER="`python -V 2>&1 | sed 's/Python \([0-9]\.[0-9]\).*/\1/'`"
44 var_append extraconfopt " " "--enable-python"
45 var_append extraconfopt " " "--with-python=/usr/bin/python$PYVER"
47 var_append extraconfopt " " "--disable-python"
51 if pkginstalled gettext; then
52 var_append extraconfopt " " "--enable-gettext"