From owner-svn-ports-all@FreeBSD.ORG Mon Jan 13 14:06:06 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id B852067E; Mon, 13 Jan 2014 14:06:06 +0000 (UTC) Date: Mon, 13 Jan 2014 14:06:06 +0000 From: Alexey Dokuchaev To: Rusmir Dusko Subject: Re: svn commit: r338474 - head/net-p2p/libtorrent-rasterbar Message-ID: <20140113140606.GC78116@FreeBSD.org> References: <201401021947.s02Jlw9N053883@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <201401021947.s02Jlw9N053883@svn.freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org 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: Mon, 13 Jan 2014 14:06:06 -0000 --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 --9amGYk9869ThD9tj--