From owner-freebsd-current@FreeBSD.ORG Tue Sep 9 16:15:30 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1C3A16A4C0 for ; Tue, 9 Sep 2003 16:15:30 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07CFD43F75 for ; Tue, 9 Sep 2003 16:15:30 -0700 (PDT) (envelope-from DougB@freebsd.org) Received: from 12-234-22-23.client.attbi.com ([12.234.22.23]) by comcast.net (rwcrmhc12) with SMTP id <2003090923152901400gknjke>; Tue, 9 Sep 2003 23:15:29 +0000 Date: Tue, 9 Sep 2003 16:15:29 -0700 (PDT) From: Doug Barton To: Matthias Andree In-Reply-To: Message-ID: <20030909161456.U42161@12-234-22-23.pyvrag.nggov.pbz> References: <20030909042349.GA686@chihiro.leafy.idv.tw> <200309090942.17317@harrymail> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org cc: Harald Schmalzbauer Subject: Re: -pthread deprecated, but when? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 23:15:30 -0000 On Tue, 9 Sep 2003, Matthias Andree wrote: > Doug Barton writes: > > > @ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched > > @ ${SED} -e 's#-lpthread#${PTHREAD_LIBS}#g' \ > > How about: ${SED} -Ee 's#-l?pthread#${PTHREAD_LIBS}#g' \ > > That's the one necessary to catch -pthread (such as BerkeleyDB) in > addition to -lpthread. You should use whatever is appropriate for your port... I just posted an example from one of mine. Doug -- This .signature sanitized for your protection