diff --git a/develop/clearsilver/clearsilver.conf b/develop/clearsilver/clearsilver.conf index 20cc13f27..3c834ffd7 100644 --- a/develop/clearsilver/clearsilver.conf +++ b/develop/clearsilver/clearsilver.conf @@ -14,15 +14,16 @@ # --- 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" +# 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" + pkgprefix -t apache + var_append extraconfopt ' ' "--with-apache=$root/$( pkgprefix apache )" + var_append CFLAGS ' ' "-I$root$( pkgprefix includedir apache )" + var_append CPPFLAGS ' ' "-I$root$( pkgprefix includedir apache )" + var_append LDFLAGS ' ' "-L$root$( pkgprefix libdir apache )" export CPPFLAGS CFLAGS LDFLAGS fi @@ -35,7 +36,7 @@ else var_append extraconfopt " " "--disable-compression" fi -# perl module +# perl module if pkginstalled perl; then var_append extraconfopt " " "--enable-perl" else @@ -46,14 +47,13 @@ fi if pkginstalled python; then pkgprefix -t python PYVER=$( pkgprefix ver python | cut -d'.' -f1,2 ) - var_append extraconfopt " " "--enable-python" + var_append extraconfopt " " "--enable-python" var_append extraconfopt " " "--with-python=/usr/bin/python$PYVER" else var_append extraconfopt " " "--disable-python" fi -# gettext +# gettext if pkginstalled gettext; then var_append extraconfopt " " "--enable-gettext" fi -