Re: -pthread deprecated, but when?

From: Doug Barton <DougB_at_FreeBSD.org>
Date: Tue, 9 Sep 2003 16:15:29 -0700 (PDT)
On Tue, 9 Sep 2003, Matthias Andree wrote:

> Doug Barton <DougB_at_FreeBSD.org> writes:
>
> >         _at_ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched
> >         _at_ ${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
Received on Tue Sep 09 2003 - 14:15:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC