diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-06-13 12:26:08 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-06-13 12:26:08 +0000 |
commit | e978215fdfd584686bcd777d5b355e3c78e78e7c (patch) | |
tree | 38618ee3df0d7615311af7404749e3ad1f459abc /net-p2p/rtorrent | |
parent | bd65ac39236aff71e1e32902e34a4c3405e3fb4b (diff) | |
download | ports-e978215fdfd584686bcd777d5b355e3c78e78e7c.tar.gz ports-e978215fdfd584686bcd777d5b355e3c78e78e7c.zip |
- Remove always true OSVERSION conditions
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=472309
Diffstat (limited to 'net-p2p/rtorrent')
-rw-r--r-- | net-p2p/rtorrent/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile index 4d14aea82202..c59f8738e069 100644 --- a/net-p2p/rtorrent/Makefile +++ b/net-p2p/rtorrent/Makefile @@ -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' {} \; \ |