From owner-freebsd-mozilla Mon Jan 15 19:24:31 2001 Delivered-To: freebsd-mozilla@freebsd.org Received: from quack.kfu.com (quack.kfu.com [205.178.90.194]) by hub.freebsd.org (Postfix) with ESMTP id E838037B699; Mon, 15 Jan 2001 19:24:13 -0800 (PST) Received: from morpheus.kfu.com (morpheus.kfu.com [205.178.90.230]) by quack.kfu.com (8.11.1/8.11.1) with ESMTP id f0G3OD720559; Mon, 15 Jan 2001 19:24:13 -0800 (PST) (envelope-from nsayer@quack.kfu.com) Received: from quack.kfu.com by morpheus.kfu.com with ESMTP (8.11.1//ident-1.0) id f0G3ODh89106; Mon, 15 Jan 2001 19:24:13 -0800 (PST) Message-ID: <3A63BEDD.3080708@quack.kfu.com> Date: Mon, 15 Jan 2001 19:24:13 -0800 From: Nick Sayer User-Agent: Mozilla/5.0 (X11; U; FreeBSD 4.2-RELEASE i386; en-US; 0.7) Gecko/20010115 X-Accept-Language: en-GB, en-US, en MIME-Version: 1.0 To: freebsd-ports@freebsd.org, freebsd-mozilla@freebsd.org Subject: How to build mozilla w/psm Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I haven't made a patch to do all of this, but I thought I'd follow up on my last posting with more of a complete how-to: 0. cd /usr/ports && make update 1. cd /usr/ports/www/mozilla && make configure 2. cd work/mozilla/security/coreconf && cp FreeBSD2.mk FreeBSD4.2.mk 3. cd security/psm/server. Edit Makefile and find the bit that talks about using -lstdc++ on Linux and -lC elsewhere. Change Linux to FreeBSD 4. In the port Makefile, add MAKE_ARGS=BUILD_MODULES=psm 5. edit servutil.c. Look in SSM_OpenPort(). Find the calls to PR_InitializeNetAddr() and PR_Bind() and #if 0 them out (or fix the bug). 6. make the port. One issue is that there are more files in the psm build than not, so the plist will have to be fixed at some point. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message