1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/ftp/lftp
Ganael LAPLANCHE de9496a230 Fix build when selected SSL library is linked to libthr
When a non-default SSL library is used (GnuTLS, OpenSSL or LibreSSL from
ports) and if it is linked to libthr, compilation fails with the following
error :

/usr/bin/ld: undefined reference to symbol `pthread_mutexattr_gettype@@FBSD_1.0' (try adding -lthr)
//lib/libthr.so.3: could not read symbols: Bad value

As OpenSSL-like ports (OpenSSL from base, OpenSSL and OpenSSL-devel from ports,
LibreSSL and LibreSSL-devel from ports) may or may not be linked to libthr, fix
build by detecting if the selected library is linked to libthr or not.

PR:		230813
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
2018-08-27 10:16:03 +00:00
..
files Update to 4.8.4 and remove obsolete patches 2018-08-21 10:25:31 +00:00
distinfo Update to 4.8.4 and remove obsolete patches 2018-08-21 10:25:31 +00:00
Makefile Fix build when selected SSL library is linked to libthr 2018-08-27 10:16:03 +00:00
pkg-descr
pkg-plist