openbsd-ports/devel/xulrunner/1.8/patches/patch-xulrunner_app_mozilla_in
martynas 2e5d9b5137 import xulrunner 1.9, and implement infrastructure for multiple
xulrunners.  this was necessary for smooth migration, since we want
plugins work for mozilla 1.8 branch too (seamonkey, thunderbird);
they are upwards-compatible if built against 1.8.  however, some
new applications started to depend on 1.9, and also other (non-plugin)
apps will start to migrate so that the old xulrunner can go away
requested by many;  bulk build & pkgpath & bump done by sthen@
2009-07-27 21:35:56 +00:00

25 lines
656 B
Plaintext

$OpenBSD: patch-xulrunner_app_mozilla_in,v 1.1.1.1 2009/07/27 21:36:01 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"