Index: head/net/asio/Makefile =================================================================== --- head/net/asio/Makefile (revision 460458) +++ head/net/asio/Makefile (revision 460459) @@ -1,23 +1,24 @@ # Created by: Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= asio PORTVERSION= 1.10.6 PORTREVISION= 3 CATEGORIES= net devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20(Stable)/ MAINTAINER= acm@FreeBSD.org COMMENT= Cross-platform C++ library for network and low-level I/O programming LICENSE= BSL LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt RUN_DEPENDS= ${LOCALBASE}/include/boost/chrono/system_clocks.hpp:devel/boost-libs +USES= tar:bz2 GNU_CONFIGURE= yes -USES= gmake tar:bz2 NO_BUILD= yes +NO_ARCH= yes INSTALL_TARGET= install-data .include Index: head/net/asio/files/patch-configure =================================================================== --- head/net/asio/files/patch-configure (revision 460458) +++ head/net/asio/files/patch-configure (revision 460459) @@ -1,9 +1,11 @@ Since we aren't compiling anything for the port, don't look for boost: ---- configure 2014-10-01 20:10:53.000000000 -0400 -+++ configure 2014-11-30 12:32:04.000000000 -0500 -@@ -5026,5 +5026,4 @@ +--- configure.orig 2015-03-23 20:37:48 UTC ++++ configure +@@ -5025,7 +5025,6 @@ else + echo "Can't find boost headers. Please check the location of the boost" echo "distribution and rerun configure using the --with-boost=DIR option." - exit 1 fi + Index: head/net/asio/files/patch-include_asio_ssl_impl_context.ipp =================================================================== --- head/net/asio/files/patch-include_asio_ssl_impl_context.ipp (revision 460458) +++ head/net/asio/files/patch-include_asio_ssl_impl_context.ipp (revision 460459) @@ -1,26 +1,25 @@ --- include/asio/ssl/impl/context.ipp.orig 2015-03-23 20:28:30 UTC +++ include/asio/ssl/impl/context.ipp -@@ -88,7 +88,15 @@ context::context(context::method m) +@@ -88,6 +88,14 @@ context::context(context::method m) handle_ = ::SSL_CTX_new(::SSLv2_server_method()); break; #endif // defined(OPENSSL_NO_SSL2) +#if defined(OPENSSL_NO_SSL3) - case context::sslv3: ++ case context::sslv3: + case context::sslv3_client: + case context::sslv3_server: + asio::detail::throw_error( + asio::error::invalid_argument, "context"); + break; +#else // defined(OPENSSL_NO_SSL3) -+ case context::sslv3: + case context::sslv3: handle_ = ::SSL_CTX_new(::SSLv3_method()); break; - case context::sslv3_client: @@ -97,6 +105,7 @@ context::context(context::method m) case context::sslv3_server: handle_ = ::SSL_CTX_new(::SSLv3_server_method()); break; +#endif // defined(OPENSSL_NO_SSL3) case context::tlsv1: handle_ = ::SSL_CTX_new(::TLSv1_method()); break;