svn commit: r468626 - head/security/libressl

Mathieu Arnold mat at FreeBSD.org
Mon Apr 30 07:35:24 UTC 2018


On Sun, Apr 29, 2018 at 05:53:37PM +0000, Thierry Thomas wrote:
> Le dim. 29 avr. 18 à 19:36:51 +0200, Eitan Adler <lists at eitanadler.com>
>  écrivait :
> 
> > >>   security/libressl: Force linking libthr
> > >>
> > >>    - Fixes problems with loading private ssh keys
> > > [...]
> > >> +LDFLAGS+=    -lthr
> > >
> > > Better use -lpthread in case user have different POSIX threads implementation.
> > > Probably only affects downstream as FreeBSD dropped libkse, libc_r years ago.
> > 
> > Further nit: -pthread not -lpthread.  The primary difference is some
> > preprocessor flags such as _REENTRANT and __USE_REENTRANT 1.
> 
> We used to have a PTHREAD_LIBS variable (along with PTHREAD_CFLAGS); why
> did they disappear?

Because for about a decade, they only contained -pthread (and nothing),
so keeping them was deemed useless.


-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20180430/f6b42596/attachment.sig>


More information about the svn-ports-head mailing list