summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpettai <pettai>2015-10-27 18:56:40 +0000
committerpettai <pettai>2015-10-27 18:56:40 +0000
commit5804423123a5d94f9e6c0d58aaaf62adcb8e642e (patch)
treea8ad572c290771a7ffa32935394f11c066dcd2d8
parentfa8a73e056fb6ff1d76143b429c19b69365d2b3f (diff)
downloadpkgsrc-5804423123a5d94f9e6c0d58aaaf62adcb8e642e.tar.gz
Disable recvmmsg() on NetBSD as a workaround.
(NetBSD's implementation of recvmmsg() is not 100% with the Linux version)
-rw-r--r--net/knot/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/knot/Makefile b/net/knot/Makefile
index 7385a18ae04..22b65b02a6b 100644
--- a/net/knot/Makefile
+++ b/net/knot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2015/10/26 19:23:08 pettai Exp $
+# $NetBSD: Makefile,v 1.26 2015/10/27 18:56:40 pettai Exp $
DISTNAME= knot-2.0.1
CATEGORIES= net
@@ -21,6 +21,12 @@ CONFIGURE_ARGS+= --with-storage=${VARBASE}/knot/lib
CONFIGURE_ARGS+= --with-urcu=${BUILDLINK_PREFIX.userspace-rcu}
CONFIGURE_ARGS+= --with-libidn=${BUILDLINK_PREFIX.libidn}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --enable-recvmmsg=no
+.endif
+
USE_LIBTOOL= yes
USE_TOOLS+= bison flex gmake pkg-config