aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2025-11-09 22:45:14 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2025-11-09 22:57:54 +0000
commit6adac9dec438a0139d9f4e449016e253649e173f (patch)
tree99bb6b2e80e8105736cb52503df10b305f0a52fb
parentc1a8aaa416a398a447b29bc5d2d68cc1948d8635 (diff)
net-p2p/libtorrent: Use native kqueue(2)
- Remove option KQUEUE Upstream provides kqueue (*BSDs) or epoll (Linux) support. MFH: 2025Q4
-rw-r--r--net-p2p/libtorrent/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile
index 59ea8c332b6a..a3a53733075e 100644
--- a/net-p2p/libtorrent/Makefile
+++ b/net-p2p/libtorrent/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libtorrent
DISTVERSION= 0.16.2
+PORTREVISION= 1
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/rakshasa/rtorrent/releases/download/v${DISTVERSION}/
@@ -18,7 +19,9 @@ USES= compiler:c++17-lang cpe libtool localbase:ldflags pathfix \
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-debug
+CONFIGURE_ARGS= --disable-debug \
+ --with-kqueue \
+ --without-epoll
CONFIGURE_ENV= OPENSSL_CFLAGS="-I ${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto"
@@ -31,11 +34,4 @@ TEST_TARGET= check
TESTING_UNSAFE= https://github.com/rakshasa/libtorrent/issues/292
-OPTIONS_DEFINE= KQUEUE
-OPTIONS_DEFAULT= KQUEUE
-
-KQUEUE_DESC= Use kqueue(2) support
-KQUEUE_CONFIGURE_WITH= kqueue
-KQUEUE_BROKEN_OFF= rtorrent fails to build without kqueue(2) support, https://github.com/rakshasa/rtorrent/issues/1633
-
.include <bsd.port.mk>