aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-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