diff -aurN ftp/lftp.orig/Makefile ftp/lftp/Makefile --- ftp/lftp.orig/Makefile 2018-08-21 12:25:31.034954000 +0200 +++ ftp/lftp/Makefile 2018-08-23 12:10:22.291004000 +0200 @@ -43,6 +43,7 @@ OPENSSL_CONFIGURE_WITH= openssl OPENSSL_USES= ssl GNUTLS_CONFIGURE_WITH= gnutls +GNUTLS_CONFIGURE_ENV= LIBS=-pthread GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_USES= pkgconfig