Subject: Re: netscape (binary package)
To: David Brownlee <abs@anim.dreamworks.com>
From: Todd Vierling <tv@pobox.com>
List: tech-pkg
Date: 01/09/1999 21:18:37
On Sat, 9 Jan 1999, David Brownlee wrote:
: Is the package worth adding to pkgsrc?
Definitely. The sparc (SunOS 4.1.x) pkg should set IGNORE= if it cannot
find `/emul/sunos/usr/lib/ld.so'.
: Should it use PREFIX or X11BASE (it does not require X11R6
: installed to run, albeit with a remote display)?
$PREFIX. It is statically linked with (SunOS) X11 libraries, and has zero
dependence on NetBSD's X11.
: Would seperate packages for complete vs standalone be useful?
Yes. An alternative would be to make a mk.conf flag choose the appropriate
one.
HOWEVER:
You probably will need to make the pkg install a `wraper script' for
netscape that helps it find some support files installed with Netscape. For
example:
#!/bin/sh
MOZILLA_HOME=@@PREFIX@@/lib/netscape; export MOZILLA_HOME
XNLSPATH=$MOZILLA_HOME/nls; export XNLSPATH
XKEYSYMDB=$MOZILLA_HOME/XKeysymDB; export XKEYSYMDB
exec $MOZILLA_HOME/netscape ${1+$@}
Without this, some Netscape functions can go bad, whether or not NetBSD's
X11 is installed. The @@PREFIX@@/lib/netscape assumes that you're
preparsing this script to replace @@PREFIX@@ approriately, and that
$PREFIX/lib/netscape is the installation directory.
Note that while the SunOS version should probably choose netscape_dns by
default, it shouldn't `nuke' the NIS version of netscape.
--
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)