$OpenBSD: patch-mail_app_mozilla_in,v 1.3 2004/12/27 21:21:39 wilfried Exp $
--- mail/app/mozilla.in.orig	Sun Jul 25 01:58:06 2004
+++ mail/app/mozilla.in	Fri Sep 17 19:43:38 2004
@@ -73,6 +73,7 @@ moz_pis_startstop_scripts()
 #set -x
 
 moz_libdir=%MOZAPPDIR%
+MOZ_PLUGIN_PATH=_LOCALBASE_/lib/mozilla-plugins
 MRE_HOME=%MREDIR%
 
 # Use run-mozilla.sh in the current dir if it exists
@@ -225,7 +226,11 @@ do
   esac
 done
 
-export MRE_HOME
+if [ `_X11BASE_/bin/fc-list | wc -l` -eq 0 ]
+then export GDK_USE_XFT=0
+fi
+
+export MOZ_PLUGIN_PATH MRE_HOME
 eval "set -- $moreargs"
 
 ## Start addon scripts
