shared plugin dir here too

This commit is contained in:
jolan 2003-06-19 19:09:02 +00:00
parent 9b9136abd8
commit 8b1b2c55da
2 changed files with 23 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2003/06/06 12:50:37 wilfried Exp $
# $OpenBSD: Makefile,v 1.11 2003/06/19 19:09:02 jolan Exp $
COMMENT= "redesign of Mozilla's browser component"
@ -60,6 +60,8 @@ MOZ= ${PREFIX}/mozilla-firebird
pre-configure:
@cd ${WRKSRC}/nsprpub && ${SETENV} ${AUTOCONF_ENV} ${AUTOCONF}
@perl -pi -e 's|_LOCALBASE_|${LOCALBASE}|g' \
${WRKSRC}/browser/app/mozilla.in
do-install:
${INSTALL_DATA_DIR} ${MOZ}

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-browser_app_mozilla_in,v 1.5 2003/06/19 19:09:02 jolan Exp $
--- browser/app/mozilla.in.orig Wed Aug 21 14:21:36 2002
+++ browser/app/mozilla.in Wed Jun 18 21:28:03 2003
@@ -33,6 +33,7 @@
#set -x
moz_libdir=%MOZAPPDIR%
+MOZ_PLUGIN_PATH=_LOCALBASE_/lib/mozilla-plugins
MRE_HOME=%MREDIR%
# honor MOZILLA_FIVE_HOME if it's there
@@ -111,7 +112,7 @@ do
esac
done
-export MRE_HOME
+export MOZ_PLUGIN_PATH MRE_HOME
eval "set -- $moreargs"
if [ $debugging = 1 ]
then