summaryrefslogtreecommitdiff
path: root/net/libtorrent
diff options
context:
space:
mode:
Diffstat (limited to 'net/libtorrent')
-rw-r--r--net/libtorrent/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/libtorrent/Makefile b/net/libtorrent/Makefile
index a3a63eb5f3f..e7863143a32 100644
--- a/net/libtorrent/Makefile
+++ b/net/libtorrent/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2009/05/19 08:59:27 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2009/06/04 14:04:08 tron Exp $
DISTNAME= libtorrent-0.12.2
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE:=downloads/}
@@ -18,6 +19,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-debug
GCC_REQD+= 3.3
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD"
+CONFIGURE_ARGS+= --with-kqueue
+.endif
+
.include "../../mk/compiler.mk"
# See http://libtorrent.rakshasa.no/ticket/96