Date: Wed, 13 Jun 2018 12:26:08 +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: r472309 - head/net-p2p/rtorrent Message-ID: <201806131226.w5DCQ8SS003122@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Jun 13 12:26:08 2018 New Revision: 472309 URL: https://svnweb.freebsd.org/changeset/ports/472309 Log: - Remove always true OSVERSION conditions Approved by: portmgr blanket Modified: head/net-p2p/rtorrent/Makefile Modified: head/net-p2p/rtorrent/Makefile ============================================================================== --- head/net-p2p/rtorrent/Makefile Wed Jun 13 12:25:59 2018 (r472308) +++ head/net-p2p/rtorrent/Makefile Wed Jun 13 12:26:08 2018 (r472309) @@ -38,14 +38,14 @@ XMLRPC_LIB_DEPENDS= libxmlrpc.so:net/xmlrpc-c .include <bsd.port.options.mk> # Workaround to build on >= 10.x -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 +.if ${OPSYS} == FreeBSD USE_CXXSTD= c++11 EXTRA_PATCHES+= ${FILESDIR}/extra-clang .endif post-patch: @${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 +.if ${OPSYS} == FreeBSD @${FIND} ${WRKSRC} \( -name '*.h' -o -name '*.cc' \) -type f \ -exec ${REINPLACE_CMD} -e 's/tr1::/std::/g' {} \; \ -exec ${REINPLACE_CMD} -e 's/std::std::/std::/g' {} \; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806131226.w5DCQ8SS003122>