From owner-svn-ports-all@FreeBSD.ORG Thu Jan 16 23:35:44 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DEC2A8F6; Thu, 16 Jan 2014 23:35:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B0A7114F3; Thu, 16 Jan 2014 23:35:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0GNZikU058234; Thu, 16 Jan 2014 23:35:44 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0GNZi9k058232; Thu, 16 Jan 2014 23:35:44 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201401162335.s0GNZi9k058232@svn.freebsd.org> From: Jung-uk Kim Date: Thu, 16 Jan 2014 23:35:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339999 - in head/devel/gsoap: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2014 23:35:44 -0000 Author: jkim Date: Thu Jan 16 23:35:43 2014 New Revision: 339999 URL: http://svnweb.freebsd.org/changeset/ports/339999 QAT: https://qat.redports.org/buildarchive/r339999/ Log: Remove unnecessary CPPFLAGS and fix the import paths properly. It seems there was an upstream bug introduced in 2.7.11 (via Red Hat), which broke the default values. In r295977, we added a hack to override these two definitions but it was actually incomplete and incorrect, e. g., the import path for wsdl2h was still not properly set. Now we fix the root cause of these longstanding problems correctly. Added: head/devel/gsoap/files/ head/devel/gsoap/files/patch-gsoap__wsdl__Makefile.in (contents, props changed) Modified: head/devel/gsoap/Makefile Modified: head/devel/gsoap/Makefile ============================================================================== --- head/devel/gsoap/Makefile Thu Jan 16 23:34:36 2014 (r339998) +++ head/devel/gsoap/Makefile Thu Jan 16 23:35:43 2014 (r339999) @@ -14,8 +14,6 @@ COMMENT= Generator Tools for Coding SOAP LICENSE= GPLv2 CONFIGURE_ENV= LEX=flex YACC=yacc -CPPFLAGS+= -DWSDL_TYPEMAP_FILE=\\\"${DATADIR}/WS/typemap.dat\\\" \ - -DSOAPCPP2_IMPORT_PATH=\\\"${DATADIR}/import\\\" GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes USES= pathfix @@ -40,7 +38,10 @@ CONFIGURE_ARGS= --disable-ssl .endif post-patch: - ${REINPLACE_CMD} -e 's| sys/timeb.h | |' ${WRKSRC}/${CONFIGURE_SCRIPT} + ${REINPLACE_CMD} -e 's| sys/timeb.h | |' \ + -e 's|-DSOAPCPP_IMPORT_PATH=|-DSOAPCPP2_IMPORT_PATH=|' \ + -e 's|-DWSDL_IMPORT_PATH=|-DWSDL2H_IMPORT_PATH=|' \ + ${WRKSRC}/${CONFIGURE_SCRIPT} post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gsoap Added: head/devel/gsoap/files/patch-gsoap__wsdl__Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/gsoap/files/patch-gsoap__wsdl__Makefile.in Thu Jan 16 23:35:43 2014 (r339999) @@ -0,0 +1,11 @@ +--- gsoap/wsdl/Makefile.in 2013-12-18 14:58:38.000000000 -0500 ++++ gsoap/wsdl/Makefile.in 2014-01-16 14:35:52.000000000 -0500 +@@ -204,7 +204,7 @@ + BUILT_SOURCES = $(SOAP_CPP_SRC) + wsdl2h_CFLAGS = $(C_DEBUG_FLAGS) $(WSDL2H_EXTRA_FLAGS) + wsdl2h_CXXFLAGS = $(C_DEBUG_FLAGS) $(WSDL2H_EXTRA_FLAGS) +-wsdl2h_CPPFLAGS = $(AM_CPPFLAGS) $(SOAPCPP2_NONAMESPACES) -D$(platform) ++wsdl2h_CPPFLAGS = $(AM_CPPFLAGS) $(SOAPCPP2_NONAMESPACES) $(WSDL2H_IMPORTPATH) -D$(platform) + wsdl2h_SOURCES = wsdl2h.cpp wsdl.cpp schema.cpp types.cpp service.cpp soap.cpp mime.cpp wsp.cpp $(SOAP_CPP_SRC) + wsdl2h_LDADD = $(SOAP_CPP_LIB) $(WSDL2H_EXTRA_LIBS) + CLEANFILES = *~ *C.cpp *H.h *Stub.h *.nsmap