openbsd-ports/www/seamonkey/patches/patch-xpfe_bootstrap_mozilla_in

25 lines
635 B
Plaintext
Raw Normal View History

$OpenBSD: patch-xpfe_bootstrap_mozilla_in,v 1.2 2007/03/26 20:41:38 martynas Exp $
--- xpfe/bootstrap/mozilla.in.orig Mon Aug 21 01:44:28 2006
+++ xpfe/bootstrap/mozilla.in Mon Mar 19 08:06:50 2007
@@ -93,6 +93,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
@@ -273,7 +274,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
## Start addon scripts
moz_pis_startstop_scripts "start"