Bug 187762 - net/easysoap: Fix build on -current
Summary: net/easysoap: Fix build on -current
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-19 18:40 UTC by tkato432
Modified: 2014-05-17 09:54 UTC (History)
0 users

See Also:


Attachments
file.diff (2.71 KB, patch)
2014-03-19 18:40 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2014-03-19 18:40:08 UTC
- Fix build on -current
- Add LICENSE

New file:
files/patch-src__SOAPSSLContext.cpp
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-19 18:40:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-04-26 03:36:58 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2014-05-17 09:54:36 UTC
State Changed
From-To: open->closed

Committed. Thanks!