summaryrefslogtreecommitdiff
path: root/mail
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 /mail
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 'mail')
-rw-r--r--mail/thunderbird/Makefile4
-rw-r--r--mail/thunderbird/Makefile-thunderbird.common4
-rw-r--r--mail/thunderbird/PLIST8
3 files changed, 10 insertions, 6 deletions
diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile
index 7d0dd939790..8c4ede19dd0 100644
--- a/mail/thunderbird/Makefile
+++ b/mail/thunderbird/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2006/11/08 13:15:40 ghen Exp $
+# $NetBSD: Makefile,v 1.23 2007/02/04 00:15:48 dmcmahill Exp $
MOZILLA= thunderbird
-
+PKGREVISION= 1
COMMENT= Mozilla mail client
MOZILLA_USE_GTK2= # yes
diff --git a/mail/thunderbird/Makefile-thunderbird.common b/mail/thunderbird/Makefile-thunderbird.common
index fb7a936b343..d1f4ecaad61 100644
--- a/mail/thunderbird/Makefile-thunderbird.common
+++ b/mail/thunderbird/Makefile-thunderbird.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile-thunderbird.common,v 1.21 2006/12/20 12:53:32 ghen Exp $
+# $NetBSD: Makefile-thunderbird.common,v 1.22 2007/02/04 00:15:48 dmcmahill Exp $
MOZILLA_BIN= thunderbird-bin
MOZ_VER= 1.5.0.9
@@ -27,7 +27,7 @@ CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/xpti.dat
post-install:
cd ${PREFIX}/lib/${MOZILLA} && \
- ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. HOME=${WRKSRC:Q} \
+ ${SETENV} LD_LIBRARY_PATH=.:${PREFIX}/lib MOZILLA_FIVE_HOME=. HOME=${WRKSRC:Q} \
./${MOZILLA_BIN} -register
.include "../../www/seamonkey/Makefile.common"
diff --git a/mail/thunderbird/PLIST b/mail/thunderbird/PLIST
index b76a839cb3e..7649b1d8db5 100644
--- a/mail/thunderbird/PLIST
+++ b/mail/thunderbird/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2006/11/08 13:15:40 ghen Exp $
+@comment $NetBSD: PLIST,v 1.18 2007/02/04 00:15:49 dmcmahill Exp $
bin/${MOZILLA}
@comment begin PROGRAMS
lib/${MOZILLA}/${MOZILLA_BIN}
@@ -90,6 +90,8 @@ lib/${MOZILLA}/libxpcom.${SO_SUFFIX}
lib/${MOZILLA}/libxpcom_compat.${SO_SUFFIX}
lib/${MOZILLA}/libxpcom_core.${SO_SUFFIX}
lib/${MOZILLA}/libxpistub.${SO_SUFFIX}
+${SUNOSLIB}lib/${MOZILLA}/libfreebl_hybrid_3.${SO_SUFFIX}
+${SUNOSLIB}lib/${MOZILLA}/libfreebl_pure32_3.${SO_SUFFIX}
@comment end DSO
@comment begin DATA
lib/${MOZILLA}/LICENSE.txt
@@ -316,6 +318,8 @@ lib/${MOZILLA}/greprefs/xpinstall.js
lib/${MOZILLA}/icons/mozicon16.xpm
lib/${MOZILLA}/icons/mozicon50.xpm
lib/${MOZILLA}/init.d/README
+${SUNOSLIB}lib/${MOZILLA}/libfreebl_hybrid_3.chk
+${SUNOSLIB}lib/${MOZILLA}/libfreebl_pure32_3.chk
lib/${MOZILLA}/libsoftokn3.chk
lib/${MOZILLA}/res/EditorOverride.css
lib/${MOZILLA}/res/arrow.gif
@@ -2736,7 +2740,7 @@ include/${MOZILLA}/nss/swfort.h
include/${MOZILLA}/nss/swfortt.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}:%D/lib MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regxpcom
@unexec ${RM} -f %D/lib/${MOZILLA}/chrome/app-chrome.manifest
@unexec ${RM} %D/lib/${MOZILLA}/components/compreg.dat
@unexec ${RM} %D/lib/${MOZILLA}/components/xpti.dat