diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-06-13 20:25:31 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-06-13 20:25:31 +0800 |
commit | 115b5ae51a151544005e5c3a2c04f220d85c244d (patch) | |
tree | 39d7ef7940b711d6f5d2478b561426fd80652add | |
parent | e71cefe64fabc7b4ffd66fa78480e1da0faac222 (diff) | |
download | freebsd-ports-gnome-115b5ae51a151544005e5c3a2c04f220d85c244d.tar.gz freebsd-ports-gnome-115b5ae51a151544005e5c3a2c04f220d85c244d.tar.zst freebsd-ports-gnome-115b5ae51a151544005e5c3a2c04f220d85c244d.zip |
- Remove always true OSVERSION conditions
Approved by: portmgr blanket
-rw-r--r-- | net-p2p/libtorrent/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile index 56bd480d8f11..f4bb874c9b79 100644 --- a/net-p2p/libtorrent/Makefile +++ b/net-p2p/libtorrent/Makefile @@ -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' {} \; \ |