Date: Wed, 13 Jun 2018 12:25:31 +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: r472307 - head/net-p2p/libtorrent Message-ID: <201806131225.w5DCPVSf002918@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Jun 13 12:25:31 2018 New Revision: 472307 URL: https://svnweb.freebsd.org/changeset/ports/472307 Log: - Remove always true OSVERSION conditions Approved by: portmgr blanket Modified: head/net-p2p/libtorrent/Makefile Modified: head/net-p2p/libtorrent/Makefile ============================================================================== --- head/net-p2p/libtorrent/Makefile Wed Jun 13 12:05:32 2018 (r472306) +++ head/net-p2p/libtorrent/Makefile Wed Jun 13 12:25:31 2018 (r472307) @@ -46,13 +46,13 @@ CONFIGURE_ARGS+=--disable-instrumentation .endif # 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: -.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?201806131225.w5DCPVSf002918>