svn commit: r434630 - in head/www/lynx: . files
Matthew Rezny
rezny at FreeBSD.org
Wed Feb 22 19:02:52 UTC 2017
Author: rezny
Date: Wed Feb 22 19:02:51 2017
New Revision: 434630
URL: https://svnweb.freebsd.org/changeset/ports/434630
Log:
Fix building with libressl-devel and add missing dependency on libidn.
PR: 216785
Approved by: jharris at widomaker.com (maintainer), swills (mentor)
Differential Revision: https://reviews.freebsd.org/D9672
Added:
head/www/lynx/files/patch-WWW_Library_Implementation_HTTP.c (contents, props changed)
Modified:
head/www/lynx/Makefile
Modified: head/www/lynx/Makefile
==============================================================================
--- head/www/lynx/Makefile Wed Feb 22 18:56:44 2017 (r434629)
+++ head/www/lynx/Makefile Wed Feb 22 19:02:51 2017 (r434630)
@@ -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 @@ COMMENT= Non-graphical, text-based World
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 @@ SSL_USES= ssl
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 <bsd.port.pre.mk>
Added: head/www/lynx/files/patch-WWW_Library_Implementation_HTTP.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/lynx/files/patch-WWW_Library_Implementation_HTTP.c Wed Feb 22 19:02:51 2017 (r434630)
@@ -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);
More information about the svn-ports-head
mailing list