From owner-freebsd-ports@FreeBSD.ORG Thu Feb 19 21:30:38 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3DBA16A4CE for ; Thu, 19 Feb 2004 21:30:38 -0800 (PST) Received: from blitzen.qlo.com (blitzen.qlo.com [142.165.150.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id C557243D41 for ; Thu, 19 Feb 2004 21:30:38 -0800 (PST) (envelope-from shurd@sasktel.net) Received: from stephens (hssx-yktn-59-202.sasknet.sk.ca [142.165.59.202]) by mail.qlo.com (SaskTel eMessaging Service) with ESMTPA id <0HTD00K25BB1K6@mail.qlo.com> for freebsd-ports@freebsd.org; Thu, 19 Feb 2004 23:30:38 -0600 (CST) Date: Thu, 19 Feb 2004 23:30:38 -0600 From: Stephen Hurd In-reply-to: <40322A0A.6010003@ciam.ru> To: freebsd-ports@freebsd.org Message-id: <20040219233038.34289cb6.shurd@sasktel.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.9.8a (GTK+ 1.2.10; i386-portbld-freebsd4.9) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20040217130408.GC74292@zi025.glhnet.mhn.de> <40322A0A.6010003@ciam.ru> Subject: Re: Libraries with threading and debugging support X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2004 05:30:39 -0000 On Tue, 17 Feb 2004 17:49:46 +0300 Sergey Matveychuk wrote: > > - I am not too sure about threading support: Should I install extra > > multi-threaded versions of the libraries, e.g. > > lib-mt.so.<#> and lib-mt.a, or should I > > install the instead of the single-threaded ones (like in the > > release vs. debugging version case)? > > IMHO special builds of a single-threaded unnecessary for users. But you > can give them once more option. > > I've tried to take into account all user's wishes in my devel/opentop, > but it became quite tricky although. Actually, I'm running into a similar canundrum... a port I'm working on (Well, actually a project I've been working on for a couple years now) uses the Mozilla SeaMonkey JS library. The port (A classic style BBS package with real internet integration - http://www.synchro.net) is heavily threaded... and needs the threaded version of the SeaMonkey library. Currently the only port I'm aware of that builds this is mozilla* itself. Unfortunately, you can NOT use the threaded version of the lib rather than the unthreaded one if the program was written for the unthreaded lib... the APIs differ. Is -mt the "correct" way to install the libs? Should there be one port that does both? Two separate ports?