svn commit: r546928 - in head/net/easysoap: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Sat Aug 29 17:19:04 UTC 2020
Author: danfe
Date: Sat Aug 29 17:19:04 2020
New Revision: 546928
URL: https://svnweb.freebsd.org/changeset/ports/546928
Log:
- Fix the build against contemporary OpenSSL versions
- Improve COMMENT wording, convert to USES+=localbase
Modified:
head/net/easysoap/Makefile
head/net/easysoap/files/patch-src__SOAPSSLContext.cpp
Modified: head/net/easysoap/Makefile
==============================================================================
--- head/net/easysoap/Makefile Sat Aug 29 17:15:19 2020 (r546927)
+++ head/net/easysoap/Makefile Sat Aug 29 17:19:04 2020 (r546928)
@@ -9,26 +9,16 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/SWANSONG
DISTNAME= EasySoap++-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
-COMMENT= C++ SOAP Library based on expat
+COMMENT= C++ SOAP library based on Expat
LICENSE= LGPL21
LIB_DEPENDS= libexpat.so:textproc/expat2
-USES= libtool ssl
+USES= libtool localbase ssl
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_lib_stdcpp_main=no
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-.include <bsd.port.pre.mk>
-
-.if ${SSL_DEFAULT} == base
-BROKEN_FreeBSD_12= use of undeclared identifier 'SSLv2_client_method'
-BROKEN_FreeBSD_13= use of undeclared identifier 'SSLv2_client_method'
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/net/easysoap/files/patch-src__SOAPSSLContext.cpp
==============================================================================
--- head/net/easysoap/files/patch-src__SOAPSSLContext.cpp Sat Aug 29 17:15:19 2020 (r546927)
+++ head/net/easysoap/files/patch-src__SOAPSSLContext.cpp Sat Aug 29 17:19:04 2020 (r546928)
@@ -4,7 +4,7 @@
switch(methodType)
{
-+#ifndef OPENSSL_NO_SSL2
++#if OPENSSL_VERSION_NUMBER < 0x10100000L && !defined(OPENSSL_NO_SSL2)
case SOAPSSLContext::SSL_v2:
- method = SSLv2_client_method();
+ method = const_cast<SSL_METHOD*>(SSLv2_client_method());
More information about the svn-ports-head
mailing list