Fix mozilla plugins directory, for some reason we don't use the default...

ok  landry@ (maintainer)
This commit is contained in:
ajacoutot 2009-11-08 16:19:34 +00:00
parent d09730c481
commit ab3b105cb3
2 changed files with 16 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.18 2009/10/29 16:46:09 sthen Exp $
# $OpenBSD: Makefile,v 1.19 2009/11/08 16:19:34 ajacoutot Exp $
COMMENT = open source web browser engine
V = 1.1.15.2
DISTNAME = webkit-${V}
# XXX do not remove v0. pX comes before vX.
PKGNAME = webkit-${V}p0v0
PKGNAME = webkit-${V}p1v0
CATEGORIES = www
HOMEPAGE = http://webkitgtk.org/
@ -69,4 +69,7 @@ BUILD_DEPENDS = ::devel/bison \
::devel/flex \
::devel/gperf
pre-configure:
${SUBST_CMD} ${WRKSRC}/WebCore/plugins/PluginDatabase.cpp
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-WebCore_plugins_PluginDatabase_cpp,v 1.1 2009/11/08 16:19:34 ajacoutot Exp $
--- WebCore/plugins/PluginDatabase.cpp.orig Sun Nov 8 11:32:38 2009
+++ WebCore/plugins/PluginDatabase.cpp Sun Nov 8 11:33:22 2009
@@ -339,6 +339,7 @@ Vector<String> PluginDatabase::defaultPluginDirectorie
userPluginPath.append(String("/.netscape/plugins"));
paths.append(userPluginPath);
+ paths.append("${LOCALBASE}/lib/mozilla-plugins");
paths.append("/usr/lib/browser/plugins");
paths.append("/usr/local/lib/mozilla/plugins");
paths.append("/usr/lib/firefox/plugins");