diff options
author | tron <tron> | 2009-06-04 14:04:08 +0000 |
---|---|---|
committer | tron <tron> | 2009-06-04 14:04:08 +0000 |
commit | b345e321b9bd2f4fbde67fc2d5025cc12b3718d1 (patch) | |
tree | 95c07a9df0f64d0f9ec7a5da50dde33c0056d369 /net/libtorrent | |
parent | cd512e32e9a503de6dbbbc92a9665974e7d45045 (diff) | |
download | pkgsrc-b345e321b9bd2f4fbde67fc2d5025cc12b3718d1.tar.gz |
Turn on kqueue(2) support under DragonFly, FreeBSD and OpenBSD.
It is not turned on under NetBSD because the kqueue(2) API is incompatible.
It is not turned on under Darwin because kevent(2) fails with ENODEV.
This fixes PR pkg/41529 by Mikko Kortelainen.
Diffstat (limited to 'net/libtorrent')
-rw-r--r-- | net/libtorrent/Makefile | 9 |
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 |