Date: Mon, 13 Jan 2014 14:06:06 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: Rusmir Dusko <nemysis@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r338474 - head/net-p2p/libtorrent-rasterbar Message-ID: <20140113140606.GC78116@FreeBSD.org> In-Reply-To: <201401021947.s02Jlw9N053883@svn.freebsd.org> References: <201401021947.s02Jlw9N053883@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 02, 2014 at 07:47:58PM +0000, Rusmir Dusko wrote: > New Revision: 338474 > URL: http://svnweb.freebsd.org/changeset/ports/338474 > > Log: > - Bump PORTREVISION > - Fix build on 8.x and 9.x > - Use USES=compiler:c++11-lang instead of compiler Can you elaborate a bit on the necessity of USES=compiler:c++11-lang here? I didn't notice any C++11 features used in the source code; at least base GCC builds it just fine. There is a problem with ./configure script: it passes -ftemplate-depth=120 option during Boost detection; but that can be easily remedied with simple sed(1) script. Would you consider attached patch? ./danfe --9amGYk9869ThD9tj Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="libt-r.diff" Index: Makefile =================================================================== --- Makefile (revision 339568) +++ Makefile (working copy) @@ -16,12 +16,12 @@ LIB_DEPENDS= libboost_date_time.so:${PORTSDIR}/devel/boost-libs \ libGeoIP.so:${PORTSDIR}/net/GeoIP -USES= compiler:c++11-lang pathfix pkgconfig iconv +USES= pathfix pkgconfig iconv USE_OPENSSL= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes -CONFIGURE_ARGS+= --disable-debug \ +CONFIGURE_ARGS= --disable-debug \ --disable-static \ --enable-dht \ --enable-encryption \ @@ -61,6 +61,7 @@ post-patch: @${REINPLACE_CMD} -e 's|/usr/local/include|${PREFIX}/include|' \ ${WRKSRC}/Jamfile + @${REINPLACE_CMD} -e '/-ftemplate-depth/d' ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @@ -69,6 +70,7 @@ ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \ + ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> --9amGYk9869ThD9tj--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140113140606.GC78116>