svn commit: r381955 - head/graphics/gdal

David Chisnall theraven at FreeBSD.org
Mon Mar 23 14:33:05 UTC 2015


On 23 Mar 2015, at 14:24, Bryan Drewery <bdrewery at FreeBSD.org> wrote:
> 
> Reading the responses from David and Tijl I'm still at a loss at how
> this is useful. From my understanding, and what David said, -pthread is
> more portable. Reading documentation available from simple searching
> leads me, as a naive developer, to use -pthread. Especially when looking
> for Linux documentation. Using either is the same as the other on
> FreeBSD as well. So why the major change?

I'm not sure there's a global change going on - if so then I wouldn't recommend it.  On FreeBSD, -lpthread and -pthread are equivalent, so using sed to replace -lpthread with -pthread is redundant work and makes the port's Makefile more complicated.  The change should have made no difference to the generated package, but made the port simpler.  To my mind, this is a good thing.  If upstream uses -pthread or -lpthread, we should not change one to the other, we should just run with whatever they use.

David



More information about the svn-ports-head mailing list