Browse Source

evolution: changed evolution-conf.in to use the nss package instead of trying to use the nss build by firefox or seamonkey

stable/0.2
Christian Wiese 14 years ago
parent
commit
c861932b0d
  1. 27
      gnome2/evolution/evolution-conf.in

27
gnome2/evolution/evolution-conf.in

@ -12,26 +12,17 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# NSS
nsspkg=
for x in firefox seamonkey; do
if pkginstalled $x; then
nsspkg=$x
break
fi
done
if [ "$nsspkg" ]; then
nssinc=${root}$( pkgprefix includedir $nsspkg )
nsslib=${root}$( pkgprefix libdir $nsspkg )
nssid=$nsspkg-$( pkgprefix ver $nsspkg )
# NSS support
if pkginstalled -f nss; then
var_append confopt ' ' "--enable-nss=yes"
var_append confopt ' ' "--enable-smime=yes"
var_append confopt ' ' "--with-nss-includes=$nssinc/$nssid"
var_append confopt ' ' "--with-nss-libs=$nsslib/$nssid"
var_append confopt ' ' "--with-nspr-includes=$nssinc/$nssid/nspr"
var_append confopt ' ' "--with-nspr-libs=$nsslib/$nssid/nspr"
var_append confopt ' ' "--with-nss-includes=$( pkgprefix -r includedir nss )"
var_append confopt ' ' "--with-nss-libs=$( pkgprefix -r libdir nss)"
# nss depends on nspr
pkgprefix -t nspr
var_append confopt ' ' "--with-nspr-includes=$( pkgprefix -r includedir nspr)"
var_append confopt ' ' "--with-nspr-libs=$( pkgprefix -r libdir nspr)"
else
var_append confopt ' ' "--disable-nss"
fi

Loading…
Cancel
Save