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.

45 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 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
  15. nsspkg=
  16. for x in firefox seamonkey; do
  17. if pkginstalled $x; then
  18. nsspkg=$x
  19. break
  20. fi
  21. done
  22. if [ "$nsspkg" ]; then
  23. nssinc=${root}$( pkgprefix includedir $nsspkg )
  24. nsslib=${root}$( pkgprefix libdir $nsspkg )
  25. nssid=$nsspkg-$( pkgprefix ver $nsspkg )
  26. var_append confopt ' ' "--enable-nss=yes"
  27. var_append confopt ' ' "--enable-smime=yes"
  28. var_append confopt ' ' "--with-nss-includes=$nssinc/$nssid/nss"
  29. var_append confopt ' ' "--with-nss-libs=$nsslib/$nssid/nss"
  30. var_append confopt ' ' "--with-nspr-includes=$nssinc/$nssid/nspr"
  31. var_append confopt ' ' "--with-nspr-libs=$nsslib/$nssid/nspr"
  32. else
  33. var_append confopt ' ' "--disable-nss"
  34. fi
  35. # LDAP
  36. if pkginstalled openldap; then
  37. pkgprefix -t openldap
  38. var_append confopt ' ' "--with-openldap=$root/$( pkgprefix openldap )"
  39. var_append GCC_WRAPPER_APPEND ' ' "-I$root/$( pkgprefix includedir openldap )"
  40. var_append GCC_WRAPPER_APPEND ' ' "-L$root/$( pkgprefix libdir openldap )"
  41. fi