search what will become the common plugin directory

This commit is contained in:
jolan 2003-06-19 19:07:59 +00:00
parent a0cabd5d84
commit 9b9136abd8
2 changed files with 23 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.48 2003/06/06 12:50:30 wilfried Exp $
# $OpenBSD: Makefile,v 1.49 2003/06/19 19:07:59 jolan Exp $
COMMENT= "open source version of the Netscape browser"
COMMENT-devel= "devel files for Gecko"
@ -67,6 +67,8 @@ MOZ= ${PREFIX}/mozilla
pre-configure:
@cd ${WRKSRC}/nsprpub && ${SETENV} ${AUTOCONF_ENV} ${AUTOCONF}
@perl -pi -e 's|_LOCALBASE_|${LOCALBASE}|g' \
${WRKSRC}/xpfe/bootstrap/mozilla.in
do-install:
.for dir in include lib

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-xpfe_bootstrap_mozilla_in,v 1.3 2003/06/19 19:07:59 jolan Exp $
--- xpfe/bootstrap/mozilla.in.orig Wed Aug 7 06:46:15 2002
+++ xpfe/bootstrap/mozilla.in Wed Jun 18 21:35:00 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