Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 02:36:52 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352217 - in head/net/easysoap: . files
Message-ID:  <201404260236.s3Q2aqcl083551@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sat Apr 26 02:36:52 2014
New Revision: 352217
URL: http://svnweb.freebsd.org/changeset/ports/352217
QAT: https://qat.redports.org/buildarchive/r352217/

Log:
  - Fix build on -current
  - Add LICENSE
  - Stage support
  
  PR:		187762
  Submitted by:	ports fury

Added:
  head/net/easysoap/files/patch-src__SOAPSSLContext.cpp   (contents, props changed)
Modified:
  head/net/easysoap/Makefile
  head/net/easysoap/pkg-plist

Modified: head/net/easysoap/Makefile
==============================================================================
--- head/net/easysoap/Makefile	Sat Apr 26 02:35:37 2014	(r352216)
+++ head/net/easysoap/Makefile	Sat Apr 26 02:36:52 2014	(r352217)
@@ -3,7 +3,7 @@
 
 PORTNAME=	easysoap
 PORTVERSION=	0.8.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/SWANSONG
 DISTNAME=	EasySoap++-${PORTVERSION}
@@ -11,22 +11,16 @@ DISTNAME=	EasySoap++-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C++ SOAP Library based on expat
 
-LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2
+LICENSE=	LGPL21
+
+LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
 
 USE_OPENSSL=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib"
-CPPFLAGS+=	-I${LOCALBASE}/include
+USE_AUTOTOOLS=	libtool
+CONFIGURE_ENV=	ac_cv_lib_stdcpp_main=no
 USE_LDCONFIG=	yes
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
-	    ${WRKSRC}/configure
-
-post-install:
-	@${RM} -f ${PREFIX}/lib/libeasysoap.la
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Added: head/net/easysoap/files/patch-src__SOAPSSLContext.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/easysoap/files/patch-src__SOAPSSLContext.cpp	Sat Apr 26 02:36:52 2014	(r352217)
@@ -0,0 +1,23 @@
+--- src/SOAPSSLContext.cpp.orig
++++ src/SOAPSSLContext.cpp
+@@ -143,16 +143,16 @@
+         switch(methodType)
+         {
+         case SOAPSSLContext::SSL_v2:
+-                method = SSLv2_client_method();
++                method = const_cast<SSL_METHOD*>(SSLv2_client_method());
+                 break;
+         case SOAPSSLContext::SSL_v23:
+-                method = SSLv23_client_method();
++                method = const_cast<SSL_METHOD*>(SSLv23_client_method());
+                 break; 
+         case SOAPSSLContext::SSL_v3:
+-                method = SSLv3_client_method();
++                method = const_cast<SSL_METHOD*>(SSLv3_client_method());
+                 break; 
+         case SOAPSSLContext::TLS_v1:
+-                method = TLSv1_client_method();
++                method = const_cast<SSL_METHOD*>(TLSv1_client_method());
+                 break; 
+         default:
+                 break;

Modified: head/net/easysoap/pkg-plist
==============================================================================
--- head/net/easysoap/pkg-plist	Sat Apr 26 02:35:37 2014	(r352216)
+++ head/net/easysoap/pkg-plist	Sat Apr 26 02:36:52 2014	(r352217)
@@ -41,6 +41,7 @@ include/easysoap/es_config.h
 include/easysoap/es_msvc.h
 include/easysoap/es_mwerks.h
 lib/libeasysoap.a
+lib/libeasysoap.la
 lib/libeasysoap.so
 lib/libeasysoap.so.0
 @dirrm include/easysoap



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404260236.s3Q2aqcl083551>