diff options
author | tron <tron> | 2009-06-04 19:15:46 +0000 |
---|---|---|
committer | tron <tron> | 2009-06-04 19:15:46 +0000 |
commit | 2ed9cfe93f84e25372954dc3cddc343b8cb38b2d (patch) | |
tree | de9a0baeee91f76de60a75da82035baee5dab1b8 /net/libtorrent/Makefile | |
parent | 3e3f40c400aae75bdae9c4f2975fb92518111fc4 (diff) | |
download | pkgsrc-2ed9cfe93f84e25372954dc3cddc343b8cb38b2d.tar.gz |
Add patch by Joerg Sonnenberger with small modification by myself that
addresses the API difference in kqueue(2) between NetBSD and FreeBSD.
Turn on kqueue(2) support now that it actually works under NetBSD.
Diffstat (limited to 'net/libtorrent/Makefile')
-rw-r--r-- | net/libtorrent/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/libtorrent/Makefile b/net/libtorrent/Makefile index e7863143a32..0be1acaefbe 100644 --- a/net/libtorrent/Makefile +++ b/net/libtorrent/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.32 2009/06/04 14:04:08 tron Exp $ +# $NetBSD: Makefile,v 1.33 2009/06/04 19:15:46 tron Exp $ DISTNAME= libtorrent-0.12.2 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net MASTER_SITES= ${HOMEPAGE:=downloads/} @@ -21,7 +21,7 @@ GCC_REQD+= 3.3 .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" +.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" CONFIGURE_ARGS+= --with-kqueue .endif |