Date: Mon, 23 Mar 2015 14:33:01 +0000 From: David Chisnall <theraven@FreeBSD.org> To: Bryan Drewery <bdrewery@FreeBSD.org> Cc: svn-ports-head@freebsd.org, Baptiste Daroussin <bapt@FreeBSD.org>, svn-ports-all@freebsd.org, Alexey Dokuchaev <danfe@FreeBSD.org>, ports-committers@freebsd.org, Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> Subject: Re: svn commit: r381955 - head/graphics/gdal Message-ID: <F1B6D362-5EA7-43FB-9A81-E6721CB8272F@FreeBSD.org> In-Reply-To: <5510220D.3030505@FreeBSD.org> References: <201503222011.t2MKBHq7091087@svn.freebsd.org> <20150323015759.GA34402@FreeBSD.org> <550F8505.8010600@FreeBSD.org> <20150323135711.GB27378@ivaldir.etoilebsd.net> <5510220D.3030505@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 23 Mar 2015, at 14:24, Bryan Drewery <bdrewery@FreeBSD.org> wrote: >=20 > Reading the responses from David and Tijl I'm still at a loss at how > this is useful. =46rom 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F1B6D362-5EA7-43FB-9A81-E6721CB8272F>