Re: Getting -pthread support back into local source tree

From: Scot W. Hetzel <>
Date: Sat, 20 Sep 2003 19:25:34 -0500
From: "Dan Naumov" <>
> Seeing as -pthread support has been removed from -CURRENT breaking
> _LOTS_ of ports, is it possible to "get it back" into a local source
> tree ? If so, how ? Thanks in advance.
All you need to do is add:


To the port that is broken by having -pthread support removed, then compile
the port.

If it still fails to compile, then you'll need to add a sed command to the
port that replaces -pthread with ${PTHREAD_LIBS} and -DTHREAD_SAFE with
${PTHREAD_LIBS} in the configure script or the Makefiles.

After you have it working, send-pr your patch to gnats and the port
maintainer.  This is the only way to get these problems fixed, if the port
maintainer doesn't have time to fix the port to work on -CURRENT.

Received on Sat Sep 20 2003 - 15:25:45 UTC

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