pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nsd On NetBSD/amd64 8.0_BETA and 8.99.1 at least, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b26291e353a4
branches:  trunk
changeset: 367015:b26291e353a4
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Aug 21 23:25:23 2017 +0000

description:
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:

 net/nsd/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r a324a6110736 -r b26291e353a4 net/nsd/Makefile
--- a/net/nsd/Makefile  Mon Aug 21 22:57:45 2017 +0000
+++ b/net/nsd/Makefile  Mon Aug 21 23:25:23 2017 +0000
@@ -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-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



Home | Main Index | Thread Index | Old Index