summaryrefslogtreecommitdiff
path: root/net/nsd
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2017-08-21 23:25:23 +0000
committerryoon <ryoon@pkgsrc.org>2017-08-21 23:25:23 +0000
commit39cfde3771de5147cbdbe4902df890b1a24c0414 (patch)
tree9d6e9fb64e585c04e027d0fddb0d44abc3267a27 /net/nsd
parentc2ecde10c2022bfcc6613015d8901320c198db57 (diff)
downloadpkgsrc-39cfde3771de5147cbdbe4902df890b1a24c0414.tar.gz
On NetBSD/amd64 8.0_BETA and 8.99.1 at least, reallocarray(3) in base
causes runtime error and it does not boot at all * Pass reallocarray as no for NetBSD * Bump PKGREVISION
Diffstat (limited to 'net/nsd')
-rw-r--r--net/nsd/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/nsd/Makefile b/net/nsd/Makefile
index bfbb57d411a..ce8e6d54fc2 100644
--- a/net/nsd/Makefile
+++ b/net/nsd/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.93 2017/08/13 11:11:42 nros Exp $
+# $NetBSD: Makefile,v 1.94 2017/08/21 23:25:23 ryoon Exp $
DISTNAME= nsd-4.1.17
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/
@@ -48,6 +49,12 @@ CONFIGURE_ARGS+=--with-xfrdfile=${VARBASE}/nsd/nsd-xfrd.state
CONFIGURE_ARGS+=--with-libevent=${BUILDLINK_PREFIX.libevent}
CONFIGURE_ARGS+=--with-ssl=${BUILDLINK_PREFIX.openssl}
+.if ${OPSYS} == "NetBSD"
+# For NetBSD/amd64 8.99.1 and 8.0_BETA, reallocarray(3) in base causes
+# runtime error.
+CONFIGURE_ENV+= ac_cv_func_reallocarray=no
+.endif
+
RCD_SCRIPTS= nsd
NSD_USER?= nsd