openbsd-ports/www/minimo/patches/patch-xpfe_bootstrap_mozilla_in
2005-07-13 04:49:56 +00:00

25 lines
607 B
Plaintext

$OpenBSD: patch-xpfe_bootstrap_mozilla_in,v 1.2 2005/07/13 04:49:56 jolan Exp $
--- xpfe/bootstrap/mozilla.in.orig Tue Mar 29 16:02:22 2005
+++ xpfe/bootstrap/mozilla.in Tue Jul 12 22:06:58 2005
@@ -93,6 +93,7 @@ moz_pis_startstop_scripts()
#set -x
moz_libdir=%MOZAPPDIR%
+MOZ_PLUGIN_PATH=_LOCALBASE_/lib/mozilla-plugins
MRE_HOME=%MREDIR%
# honor MOZILLA_FIVE_HOME if it's there
@@ -171,7 +172,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