[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mozilla-1.2b under OpenBSD
- To: ports@openbsd.org
- Subject: mozilla-1.2b under OpenBSD
- From: josh <dorqus@bsdfreek.com>
- Date: Mon, 4 Nov 2002 13:58:03 -0500
- Content-Disposition: inline
- User-Agent: Mutt/1.2.5.1i
In case anyone is interested, I was able to build mozilla-1.2b from
source under OpenBSD-3.1-current (pre-3.2, have not gotten to upgrade
this machine to 3.2-current yet).
I downloaded the source from ftp.mozilla.org,
patched security/nss/lib/freebl/unix_rand.c, adding
'|| defined(OPENBSD)' on line 81 after 'defined(DARWIN)'
and used the following configure flags:
./configure --disable-shared --enable-static --disable-debug \
--enable-crypto --enable-strip && gmake && gmake install
I then chown'ed the entire mozilla subdir to my username,
and can execute mozilla by calling /usr/local/mozilla/xpfe/bootstrap/mozilla
$ /usr/local/mozilla/xpfe/bootstrap/mozilla --version
Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.2b) Gecko/20021104 <developer build>
Thanks to Marc Matteo for the patch to unix_rand.c, and everyone else
that helped do testing with the older versions.
--
josh