Date: Tue, 9 Sep 2003 16:15:29 -0700 (PDT) From: Doug Barton <DougB@FreeBSD.org> To: Matthias Andree <ma@dt.e-technik.uni-dortmund.de> Cc: Harald Schmalzbauer <h@schmalzbauer.de> Subject: Re: -pthread deprecated, but when? Message-ID: <20030909161456.U42161@12-234-22-23.pyvrag.nggov.pbz> In-Reply-To: <m3vfs1ab1a.fsf@merlin.emma.line.org> References: <20030909042349.GA686@chihiro.leafy.idv.tw> <200309090942.17317@harrymail><m3vfs1ab1a.fsf@merlin.emma.line.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 9 Sep 2003, Matthias Andree wrote: > Doug Barton <DougB@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030909161456.U42161>