From owner-freebsd-ports@FreeBSD.ORG Tue Feb 17 05:04:13 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 55AE816A4CE for ; Tue, 17 Feb 2004 05:04:13 -0800 (PST) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 253CF43D1D for ; Tue, 17 Feb 2004 05:04:13 -0800 (PST) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id EA7079B80; Tue, 17 Feb 2004 14:04:08 +0100 (CET) Date: Tue, 17 Feb 2004 14:04:08 +0100 From: Simon Barner To: ports@FreeBSD.org Message-ID: <20040217130408.GC74292@zi025.glhnet.mhn.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b5gNqxB1S1yM7hjW" Content-Disposition: inline User-Agent: Mutt/1.5.5.1i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de Subject: 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 13:04:13 -0000 --b5gNqxB1S1yM7hjW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I am currently working on the devel/boost[1] port, but my question is more general and I could not find any policy statement in the documentation. How should one handle different versions of the same library, i.e. debugging and release version of the library, single and multi-threaded version, etc.? The boost library by default installs every possible combination, i.e. up to 8 if one also considers shared vs. static libraries. To my mind, this is quite a lot, so I had the following thoughts: - Install both a shared and a static version (like other ports do) (naming scheme lib.so.<#> and lib.a, as described in [2]) =20 - 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) =20 - 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)? Any comments are very appreciated, since I'd really like to unbreak the port on 5.x. Simon --=20 [1]: http://www.boost.org [2]: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/p= olicies-shlib.html --b5gNqxB1S1yM7hjW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAMhFICkn+/eutqCoRAgl0AKDnFlMugPMrSaZTLsd/a4HIhWBPHgCfSZso +eAvNj2MIUl9nXwUDzZBTZ4= =E6fq -----END PGP SIGNATURE----- --b5gNqxB1S1yM7hjW--