svn commit: r472309 - head/net-p2p/rtorrent
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Jun 13 12:26:09 UTC 2018
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' {} \; \
More information about the svn-ports-all
mailing list