-pthread deprecated, but when?

Matthias Andree ma at dt.e-technik.uni-dortmund.de
Tue Sep 9 14:48:29 PDT 2003


Doug Barton <DougB at 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.

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95


More information about the freebsd-current mailing list