Date: Wed, 14 May 2003 21:23:39 +0300 From: Maxim Sobolev <sobomax@portaone.com> To: Hajimu UMEMOTO <ume@FreeBSD.ORG> Cc: ports-committers@FreeBSD.ORG Subject: Re: cvs commit: ports/graphics/mesagl Makefileports/graphics/mesagl/files patch-aa Message-ID: <3EC289AB.3050002@portaone.com> References: <200305131727.h4DHRnal027984@repoman.freebsd.org> <53534.3ffe:501:185b:8010:280:88ff:fe03:4841.1052847797.squirrel@cheer .mahoroba.org> <20030513174745.GB17517@vega.vega.com> <53549.3ffe:501:185b:8010:280:88ff:fe03:4841.1052848618.squirrel@cheer .mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Please study the diff more closely and you will see that it provides
correct pthread linking options both on -stable and on -current.
-Maxim
Hajimu UMEMOTO wrote:
> Hi,
>
> Maxim Sobolev said:
>
>>No, it doesn't.
>
>
> Then, what's mean the following chunk from bsd.port.mk?
>
> .if ${OSVERSION} < 500016
> PTHREAD_CFLAGS=-D_THREAD_SAFE
> PTHREAD_LIBS=-pthread
> .else
> PTHREAD_CFLAGS=-D_THREAD_SAFE
> PTHREAD_LIBS=-lc_r
> .endif
>
> I believe we should use -lc_r on CURRENT. Was the way changed?
>
> Sincerely,
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EC289AB.3050002>
