pkgsrc/www/seamonkey/INSTALL
dmcmahill 8d3e192df1 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.
2007-02-04 00:15:48 +00:00

20 lines
577 B
Text

# $NetBSD: INSTALL,v 1.3 2007/02/04 00:15:49 dmcmahill Exp $
MOZILLA="@MOZILLA@"
MOZILLA_BIN="@MOZILLA_BIN@"
MOZILLA_FIVE_HOME="${PKG_PREFIX}/lib/${MOZILLA}"
export MOZILLA_FIVE_HOME
case ${STAGE} in
POST-INSTALL)
${MKDIR} -p "./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}" \
HOME="./tmpdir-${PKGNAME}" \
${MOZILLA_FIVE_HOME}/regchrome
fi
${RM} -fr "./tmpdir-${PKGNAME}"
;;
esac