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.

39 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../evolution/evolution-conf.in
  5. # Copyright (C) 2007 - 2011 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  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. # --- SDE-COPYRIGHT-NOTE-END ---
  14. # NSS support
  15. if pkginstalled -f nss; then
  16. var_append confopt ' ' "--enable-nss=yes"
  17. var_append confopt ' ' "--enable-smime=yes"
  18. var_append confopt ' ' "--with-nss-includes=$( pkgprefix -r includedir nss )"
  19. var_append confopt ' ' "--with-nss-libs=$( pkgprefix -r libdir nss)"
  20. # nss depends on nspr
  21. pkgprefix -t nspr
  22. var_append confopt ' ' "--with-nspr-includes=$( pkgprefix -r includedir nspr)"
  23. var_append confopt ' ' "--with-nspr-libs=$( pkgprefix -r libdir nspr)"
  24. else
  25. var_append confopt ' ' "--disable-nss"
  26. fi
  27. # LDAP
  28. if pkginstalled openldap; then
  29. pkgprefix -t openldap
  30. var_append confopt ' ' "--with-openldap=$root/$( pkgprefix openldap )"
  31. var_append GCC_WRAPPER_APPEND ' ' "-I$root/$( pkgprefix includedir openldap )"
  32. var_append GCC_WRAPPER_APPEND ' ' "-L$root/$( pkgprefix libdir openldap )"
  33. fi
  34. # workaround for implicit declaration of functions which have been deprecated in gtk+
  35. var_append CC_WRAPPER_REMOVE ' ' '-DGTK_DISABLE_DEPRECATED'