Date: Sun, 11 Sep 2016 17:40:42 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421850 - in head/devel/swig30: . files Message-ID: <201609111740.u8BHegJ0091703@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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 <cmath> + # define SWIG_isfinite(X) (std::isfinite(X)) + # elif defined(_MSC_VER) + # define SWIG_isfinite(X) (_finite(X))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609111740.u8BHegJ0091703>