diff options
Diffstat (limited to 'net-p2p/libtorrent/Makefile')
-rw-r--r-- | net-p2p/libtorrent/Makefile | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile index 598f47b8ac5a..0a2da6201cd6 100644 --- a/net-p2p/libtorrent/Makefile +++ b/net-p2p/libtorrent/Makefile @@ -1,5 +1,5 @@ PORTNAME= libtorrent -DISTVERSION= 0.15.5 +DISTVERSION= 0.16.0 CATEGORIES= net-p2p MASTER_SITES= https://github.com/rakshasa/rtorrent/releases/download/v${DISTVERSION}/ @@ -10,6 +10,7 @@ WWW= https://github.com/rakshasa/libtorrent LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +LIB_DEPENDS= libcurl.so:ftp/curl TEST_DEPENDS= cppunit>0:devel/cppunit USES= compiler:c++17-lang cpe libtool localbase:ldflags pathfix \ @@ -36,14 +37,4 @@ OPTIONS_DEFAULT= KQUEUE KQUEUE_DESC= Use kqueue(2) support KQUEUE_CONFIGURE_WITH= kqueue -.include <bsd.port.pre.mk> - -# Disable instrumentation, which requires 64-bit atomic ops, on i386 when using -# gcc to avoid linking errors: -# /usr/local/lib/libtorrent.so: undefined reference to `__sync_add_and_fetch_8' -# /usr/local/lib/libtorrent.so: undefined reference to `__sync_fetch_and_and_8' -.if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == gcc -CONFIGURE_ARGS+= --disable-instrumentation -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |