- s/-lpthread/-pthread/ back on "4.4 Patching" section.
"This variable usually has the value of -pthread, but on certain architectures and FreeBSD versions it can have different values, so do not just hardcode -pthread into patches and always use PTHREAD_LIBS."- From The FreeBSD Porter's Handbook "12.12 Threading libraries" section
Discussed by: pav (thanks), rafan, kevlo