From owner-freebsd-ports@FreeBSD.ORG Tue Feb 17 06:49:14 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 08FB416A4CE for ; Tue, 17 Feb 2004 06:49:14 -0800 (PST) Received: from mail.ciam.ru (main.ciam.ru [213.147.57.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id B146743D1D for ; Tue, 17 Feb 2004 06:49:13 -0800 (PST) (envelope-from sem@ciam.ru) Received: from sem.ciam.ru ([192.168.45.10] helo=ciam.ru) by mail.ciam.ru with esmtp (Exim 4.x) id 1At6X9-0007fu-07; Tue, 17 Feb 2004 17:49:11 +0300 Message-ID: <40322A0A.6010003@ciam.ru> Date: Tue, 17 Feb 2004 17:49:46 +0300 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Simon Barner References: <20040217130408.GC74292@zi025.glhnet.mhn.de> In-Reply-To: <20040217130408.GC74292@zi025.glhnet.mhn.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org 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: Tue, 17 Feb 2004 14:49:14 -0000 Simon Barner wrote: > - Install both a shared and a static version (like other ports do) > (naming scheme lib.so.<#> and lib.a, as > described in [2]) I think it's a good practice. But you can ask user if static library need (WITH_STATIC=yes). > > - If the user requests the debugging version, skip the build of the > release version and install the debugging-enabled libraries instead > (with the same naming scheme) IMHO you make a decision as port maintainer. > > - 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. -- Sem.