From owner-svn-ports-head@freebsd.org Sun Sep 11 17:40:44 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DE63BD70C1; Sun, 11 Sep 2016 17:40:44 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C78011752; Sun, 11 Sep 2016 17:40:43 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8BHehXu091705; Sun, 11 Sep 2016 17:40:43 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8BHegJ0091703; Sun, 11 Sep 2016 17:40:42 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201609111740.u8BHegJ0091703@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 11 Sep 2016 17:40:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421850 - in head/devel/swig30: . 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-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2016 17:40:44 -0000 Author: amdmi3 Date: Sun Sep 11 17:40:42 2016 New Revision: 421850 URL: https://svnweb.freebsd.org/changeset/ports/421850 Log: - Add missing include to generated code, fixing build of irc/znc - Fix LICENSE and add LICENSE_FILE - Remove long obsolete REINPLACE_CMD - Silence patching and stipping Upstream bugreport for reference: https://github.com/swig/swig/pull/788 PR: 212196 Submitted by: crees, amdmi3 Approved by: maintainer timeout (sunpoet, 2 weeks) Added: head/devel/swig30/files/patch-Lib_typemaps_fragments.swg (contents, props changed) Modified: head/devel/swig30/Makefile Modified: head/devel/swig30/Makefile ============================================================================== --- head/devel/swig30/Makefile Sun Sep 11 17:29:28 2016 (r421849) +++ head/devel/swig30/Makefile Sun Sep 11 17:40:42 2016 (r421850) @@ -3,6 +3,7 @@ PORTNAME= swig PORTVERSION= 3.0.10 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX= 30 @@ -10,7 +11,8 @@ PKGNAMESUFFIX= 30 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Generate wrappers for calling C/C++ code from other languages -LICENSE= GPLv3 +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSE-GPL LIB_DEPENDS= libpcre.so:devel/pcre @@ -42,18 +44,17 @@ post-patch: -e 's|MZSCHEME --mute-banner|MZSCHEME|' \ -e '/^MZDYNOBJ/s|`$$|\| tail -n 1`|' \ ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/Lib/lua/luarun.swg post-configure: - ${REINPLACE_CMD} -e 's#null#&|| true#' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's#null#&|| true#' ${WRKSRC}/Makefile post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ccache-swig${PORTVERSION:R} ${STAGEDIR}${PREFIX}/bin/swig${PORTVERSION:R} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ccache-swig${PORTVERSION:R} ${STAGEDIR}${PREFIX}/bin/swig${PORTVERSION:R} post-install-DOCS-on: - cd ${WRKSRC}/Doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${PORTVERSION} + @cd ${WRKSRC}/Doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${PORTVERSION} post-install-EXAMPLES-on: - cd ${WRKSRC}/Examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/${PORTVERSION} + @cd ${WRKSRC}/Examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/${PORTVERSION} .include Added: head/devel/swig30/files/patch-Lib_typemaps_fragments.swg ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/swig30/files/patch-Lib_typemaps_fragments.swg Sun Sep 11 17:40:42 2016 (r421850) @@ -0,0 +1,10 @@ +--- Lib/typemaps/fragments.swg.orig 2016-09-10 23:27:20 UTC ++++ Lib/typemaps/fragments.swg +@@ -172,6 +172,7 @@ + # if defined(isfinite) + # define SWIG_isfinite(X) (isfinite(X)) + # elif defined __cplusplus && __cplusplus >= 201103L ++# include + # define SWIG_isfinite(X) (std::isfinite(X)) + # elif defined(_MSC_VER) + # define SWIG_isfinite(X) (_finite(X))