OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.9 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../clearsilver/clearsilver.conf
  5. # Copyright (C) 2006 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- SDE-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"
  18. # correcting apache path
  19. if pkginstalled apache; then
  20. var_append extraconfopt ' ' "--with-apache=$SDECFG_PKG_APACHE_PREFIX"
  21. var_append CFLAGS ' ' "-I/$SDECFG_PKG_APACHE_PREFIX/include"
  22. var_append CPPFLAGS ' ' "-I/$SDECFG_PKG_APACHE_PREFIX/include"
  23. var_append LDFLAGS ' ' "-L/$SDECFG_PKG_APACHE_PREFIX/lib"
  24. export CPPFLAGS CFLAGS LDFLAGS
  25. fi
  26. if pkginstalled zlib; then
  27. var_append extraconfopt " " "--enable-compression"
  28. else
  29. var_append extraconfopt " " "--disable-compression"
  30. fi
  31. # perl module
  32. if pkginstalled perl; then
  33. var_append extraconfopt " " "--enable-perl"
  34. else
  35. var_append extraconfopt " " "--disable-perl"
  36. fi
  37. # python module
  38. if pkginstalled python; then
  39. pkgprefix -t python
  40. PYVER=$( pkgprefix ver python | cut -d'.' -f1,2 )
  41. var_append extraconfopt " " "--enable-python"
  42. var_append extraconfopt " " "--with-python=/usr/bin/python$PYVER"
  43. else
  44. var_append extraconfopt " " "--disable-python"
  45. fi
  46. # gettext
  47. if pkginstalled gettext; then
  48. var_append extraconfopt " " "--enable-gettext"
  49. fi