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.

59 lines
2.0 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 - 2007 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. pkgprefix -t apache
  21. var_append extraconfopt ' ' "--with-apache=$root/$( pkgprefix apache )"
  22. var_append CFLAGS ' ' "-I$root$( pkgprefix includedir apache )"
  23. var_append CPPFLAGS ' ' "-I$root$( pkgprefix includedir apache )"
  24. var_append LDFLAGS ' ' "-L$root$( pkgprefix libdir apache )"
  25. export CPPFLAGS CFLAGS LDFLAGS
  26. fi
  27. if pkginstalled zlib; then
  28. pkgprefix -t zlib
  29. var_append extraconfopt " " "--enable-compression"
  30. var_append LDFLAGS ' ' "-L$root$( pkgprefix libdir zlib )"
  31. export LDFLAGS
  32. else
  33. var_append extraconfopt " " "--disable-compression"
  34. fi
  35. # perl module
  36. if pkginstalled perl; then
  37. var_append extraconfopt " " "--enable-perl"
  38. else
  39. var_append extraconfopt " " "--disable-perl"
  40. fi
  41. # python module
  42. if pkginstalled python; then
  43. pkgprefix -t python
  44. PYVER=$( pkgprefix ver python | cut -d'.' -f1,2 )
  45. var_append extraconfopt " " "--enable-python"
  46. var_append extraconfopt " " "--with-python=/usr/bin/python$PYVER"
  47. else
  48. var_append extraconfopt " " "--disable-python"
  49. fi
  50. # gettext
  51. if pkginstalled gettext; then
  52. var_append extraconfopt " " "--enable-gettext"
  53. fi