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.

63 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../firefox/firefox.conf
  5. # Copyright (C) 2006 - 2007 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. # Copyright (C) 1998 - 2004 Clifford Wolf
  8. #
  9. # More information can be found in the files COPYING and README.
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; version 2 of the License. A copy of the
  14. # GNU General Public License can be found in the file COPYING.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. if [ $prefix_auto = 1 ] ; then
  17. prefix=$mozilla_prefix
  18. set_confopt
  19. fi
  20. firefox_config() {
  21. cat <<-EOT >> .mozconfig
  22. . \$topsrcdir/browser/config/mozconfig
  23. export MOZ_PHOENIX=1
  24. mk_add_options MOZ_PHOENIX=1
  25. ac_add_options --disable-mailnews
  26. ac_add_options --disable-composer
  27. ac_add_options --enable-extensions=default,cookie,permissions,xml-rpc,xmlextras,pref,transformiix,webservices,auth
  28. ac_add_options --enable-mathml
  29. ac_add_options --enable-crypto
  30. ac_add_options --enable-module=psm
  31. ac_add_options --disable-profilesharing
  32. EOT
  33. # checking for LDAP support
  34. if pkginstalled openldap ; then
  35. echo "ac_add_options --enable-ldap" >> .mozconfig
  36. else
  37. echo "ac_add_options --disable-ldap" >> .mozconfig
  38. fi
  39. if pkginstalled libsvg-cairo ; then
  40. cat <<-EOT >> .mozconfig
  41. ac_add_options --enable-svg
  42. ac_add_options --enable-svg-renderer=cairo
  43. EOT
  44. fi
  45. }
  46. hook_add preconf 4 "firefox_config"
  47. # this annoying javascript (tm) based whatever component registration
  48. hook_add postmake 6 "$root$bindir/firefox -register"
  49. # work around for version 2.0
  50. # Merged from T2
  51. var_append GCC_WRAPPER_INSERT ' ' "-c?:-L`pkgprefix libdir libx11` -lX11 -lXrender"