summaryrefslogtreecommitdiff
path: root/www/seamonkey
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2007-02-04 00:15:48 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2007-02-04 00:15:48 +0000
commit8d3e192df1df51f7c4058277cf45d12f435eae89 (patch)
tree47e89063be3eba467767d9628fade23e7ed7f31a /www/seamonkey
parent404563535b80056002ac1f2e50468fd47778e714 (diff)
downloadpkgsrc-8d3e192df1df51f7c4058277cf45d12f435eae89.tar.gz
Get these mozilla clients to work on Solaris-2.9/sparc. There were
two issues. The PLIST was incorrect and since the PLIST is used by the "moz-install" script, anything missing from the PLIST is never installed even when building from source. When libfreebl* were not installed it caused the clients to fail to load the security component and fail with "The browser failed to load its security component". The second issue is that many installations of solaris-2.9 include various glib/gtk/gnome libraries in /usr/lib. This causes failures because the pkgsrc ones were used at link time and the /usr/lib ones at run time. Work around this by setting a LD_LIBRARY_PATH that includes the pkgsrc lib directory first. pkgrevision bumps all around.
Diffstat (limited to 'www/seamonkey')
-rw-r--r--www/seamonkey/INSTALL4
-rw-r--r--www/seamonkey/Makefile4
-rw-r--r--www/seamonkey/PLIST6
-rw-r--r--www/seamonkey/files/mozilla-ELF.in2
4 files changed, 9 insertions, 7 deletions
diff --git a/www/seamonkey/INSTALL b/www/seamonkey/INSTALL
index 928812afc4c..54b44defc31 100644
--- a/www/seamonkey/INSTALL
+++ b/www/seamonkey/INSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.2 2006/10/08 13:10:30 ghen Exp $
+# $NetBSD: INSTALL,v 1.3 2007/02/04 00:15:49 dmcmahill Exp $
MOZILLA="@MOZILLA@"
MOZILLA_BIN="@MOZILLA_BIN@"
@@ -8,7 +8,7 @@ export MOZILLA_FIVE_HOME
case ${STAGE} in
POST-INSTALL)
${MKDIR} -p "./tmpdir-${PKGNAME}"
- LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" HOME="./tmpdir-${PKGNAME}" \
+ LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}:${PKG_PREFIX}/lib" HOME="./tmpdir-${PKGNAME}" \
${MOZILLA_FIVE_HOME}/regxpcom
if ${TEST} -x ${MOZILLA_FIVE_HOME}/regchrome; then
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" \
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index 3ddec0e5a35..af70dcb08dc 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2007/01/30 14:34:34 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2007/02/04 00:15:49 dmcmahill Exp $
MOZILLA= seamonkey
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= Full featured gecko-based browser
diff --git a/www/seamonkey/PLIST b/www/seamonkey/PLIST
index 5c7b1f30cd4..7034ea3f3db 100644
--- a/www/seamonkey/PLIST
+++ b/www/seamonkey/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2007/01/20 10:54:44 ghen Exp $
+@comment $NetBSD: PLIST,v 1.8 2007/02/04 00:15:49 dmcmahill Exp $
bin/${MOZILLA}
@comment begin PROGRAMS
lib/${MOZILLA}/${MOZILLA_BIN}
@@ -3050,8 +3050,8 @@ include/${MOZILLA}/nss/sslproto.h
include/${MOZILLA}/nss/sslt.h
include/${MOZILLA}/nss/watcomfx.h
@comment end INCLUDE-PUBLIC
-@exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA} MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regxpcom
-@exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA} MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regchrome
+@exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA}:%D/lib MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regxpcom
+@exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA}%D/lib MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regchrome
@unexec ${RM} %D/lib/${MOZILLA}/chrome/chrome.rdf
@unexec ${RM} %D/lib/${MOZILLA}/chrome/overlays.rdf
@unexec ${RM} %D/lib/${MOZILLA}/chrome/stylesheets.rdf
diff --git a/www/seamonkey/files/mozilla-ELF.in b/www/seamonkey/files/mozilla-ELF.in
index 99470536423..9523d1269e4 100644
--- a/www/seamonkey/files/mozilla-ELF.in
+++ b/www/seamonkey/files/mozilla-ELF.in
@@ -1,4 +1,6 @@
#!/bin/sh
MOZILLA_FIVE_HOME=@PREFIX@/lib/@MOZILLA@
export MOZILLA_FIVE_HOME
+LD_LIBRARY_PATH=@PREFIX@/lib/@MOZILLA@:@PREFIX@/lib:${LD_LIBRARY_PATH}
+export LD_LIBRARY_PATH
exec @PREFIX@/lib/@MOZILLA@/@MOZILLA_BIN@ "$@"