From owner-freebsd-threads@FreeBSD.ORG Fri May 30 17:07:43 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04EA937B401; Fri, 30 May 2003 17:07:43 -0700 (PDT) Received: from shumai.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3715343F93; Fri, 30 May 2003 17:07:42 -0700 (PDT) (envelope-from marcus@freebsd.org) Received: from shumai.marcuscom.com (localhost.marcuscom.com [127.0.0.1]) by shumai.marcuscom.com (8.12.9/8.12.9) with ESMTP id h4V07eM3035529; Fri, 30 May 2003 20:07:40 -0400 (EDT) (envelope-from marcus@freebsd.org) Received: from localhost (marcus@localhost)h4V07d0d035526; Fri, 30 May 2003 20:07:39 -0400 (EDT) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Fri, 30 May 2003 20:07:39 -0400 (EDT) From: Joe Marcus Clarke X-X-Sender: marcus@shumai.marcuscom.com To: Daniel Eischen In-Reply-To: Message-ID: <20030530200515.Y25371@shumai.marcuscom.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: ports@freebsd.org cc: threads@freebsd.org Subject: Re: Transition plans: libkse->libpthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2003 00:07:43 -0000 On Fri, 30 May 2003, Daniel Eischen wrote: > Sometime shortly after 5.1 release, we'll (hopefully) be > installing libpthread as "libpthread" instead of "libkse" > by default. There are some things that need to be fixed > (signal handling) before this can happen, but we're working > on it now. > > Locally, I install the library as libpthread, but this > breaks lots of ports that use autoconf and/or libtool. I > still have PTHREAD_LIBS unchanged (set to libc_r), but > that doesn't seem to matter. What the GNOME people have done is use this little post-patch regex substitution. This has been pretty successful. It may still miss some obscure -lpthread references, though. If you find a problem in a port that uses this, please let me know. @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure Joe -- PGP Key : http://www.marcuscom.com/pgp.asc