openbsd-ports/devel/xulrunner/patches/patch-xulrunner_app_mozilla_in
martynas 78aeb076bf adapt for other mozilla projects claudio's diff of firefox to honor
MOZ_PLUGIN_PATH.  bump pkgnames
sure claudio@
2008-07-21 19:19:06 +00:00

25 lines
652 B
Plaintext

$OpenBSD: patch-xulrunner_app_mozilla_in,v 1.4 2008/07/21 19:19:06 martynas Exp $
--- xulrunner/app/mozilla.in.orig Fri Jan 11 05:20:02 2008
+++ xulrunner/app/mozilla.in Mon Feb 11 00:11:31 2008
@@ -93,6 +93,7 @@ moz_pis_startstop_scripts()
#set -x
moz_libdir=%MOZAPPDIR%
+MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH:=_LOCALBASE_/lib/mozilla-plugins}
MRE_HOME=%MREDIR%
# Use run-mozilla.sh in the current dir if it exists
@@ -270,7 +271,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"