aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-04-07 17:17:04 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-04-07 17:39:42 +0000
commit89ff4fe4329c24a2e8ddf61e58db82d9705fcd7e (patch)
tree169445320153eb105c76325dd99f8014e2842e56
parent61cee825c98e54235aa75307ce1cb6f40aa2f472 (diff)
downloadports-89ff4fe4329c24a2e8ddf61e58db82d9705fcd7e.tar.gz
ports-89ff4fe4329c24a2e8ddf61e58db82d9705fcd7e.zip
net-p2p/[py-]libtorrent-rasterbar: Add the PORTSCOUT line to prevent 2.x
-rw-r--r--net-p2p/libtorrent-rasterbar/Makefile2
-rw-r--r--net-p2p/py-libtorrent-rasterbar/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile
index 3e9e35a5fc01..ec580b903b21 100644
--- a/net-p2p/libtorrent-rasterbar/Makefile
+++ b/net-p2p/libtorrent-rasterbar/Makefile
@@ -37,6 +37,8 @@ LOGGING_DESC= Enable logging to disk
EXAMPLES_CMAKE_BOOL= build_examples
LOGGING_CMAKE_BOOL= logging
+PORTSCOUT= limit:^1.* # 2.x is WIP and we don't accept it before qBittorrent does
+
post-patch:
@${REINPLACE_CMD} -e 's|return "python3";|return "${PYTHON_CMD}";|' \
${WRKSRC}/test/setup_transfer.cpp
diff --git a/net-p2p/py-libtorrent-rasterbar/Makefile b/net-p2p/py-libtorrent-rasterbar/Makefile
index c5d8bb5c8003..ee603e64b806 100644
--- a/net-p2p/py-libtorrent-rasterbar/Makefile
+++ b/net-p2p/py-libtorrent-rasterbar/Makefile
@@ -31,6 +31,8 @@ WRKSRC_SUBDIR= bindings/python
CONFIGURE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \
PYTHON_VERSION="${PYTHON_VERSION}"
+PORTSCOUT= limit:^1.* # 2.x is WIP and we don't accept it before qBittorrent does
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libtorrent*.so