Index: head/www/lynx/Makefile =================================================================== --- head/www/lynx/Makefile +++ head/www/lynx/Makefile @@ -3,7 +3,7 @@ PORTNAME= lynx PORTVERSION= 2.8.8.2 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= http://invisible-mirror.net/archives/lynx/tarballs/ \ @@ -15,6 +15,8 @@ LICENSE= GPLv2 +LIB_DEPENDS= libidn.so:dns/libidn + CONFLICTS= lynx-2.8.[8-9]d* USES= cpe ncurses shebangfix tar:bzip2 @@ -59,7 +61,7 @@ post-install-DOCS-on: # Fix some stage symlinks .for doc in COPYHEADER COPYING COPYHEADER.asc COPYING.asc - (cd ${STAGEDIR}${L_HELP} && ln -sf ../doc/lynx/${doc} .) + (cd ${STAGEDIR}${L_HELP} && ${LN} -sf ../doc/lynx/${doc} .) .endfor .include Index: head/www/lynx/files/patch-WWW_Library_Implementation_HTTP.c =================================================================== --- head/www/lynx/files/patch-WWW_Library_Implementation_HTTP.c +++ head/www/lynx/files/patch-WWW_Library_Implementation_HTTP.c @@ -0,0 +1,11 @@ +--- WWW/Library/Implementation/HTTP.c.orig 2017-02-09 21:20:27 UTC ++++ WWW/Library/Implementation/HTTP.c +@@ -721,7 +722,7 @@ static int HTLoadHTTP(const char *arg, + #elif SSLEAY_VERSION_NUMBER >= 0x0900 + #ifndef USE_NSS_COMPAT_INCL + if (!try_tls) { +- handle->options |= SSL_OP_NO_TLSv1; ++ SSL_set_options(handle, SSL_OP_NO_TLSv1); + #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT) + } else { + int ret = (int) SSL_set_tlsext_host_name(handle, ssl_host);