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