pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/nsd Define _OPENBSD_SOURCE to build sane binary on...
details: https://anonhg.NetBSD.org/pkgsrc/rev/45aaf4748fbe
branches: trunk
changeset: 367018:45aaf4748fbe
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Tue Aug 22 00:32:18 2017 +0000
description:
Define _OPENBSD_SOURCE to build sane binary on NetBSD suggested from joerg@.
Thank you.
* Bump PKGREVISION
diffstat:
net/nsd/Makefile | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (25 lines):
diff -r b81731e683dd -r 45aaf4748fbe net/nsd/Makefile
--- a/net/nsd/Makefile Mon Aug 21 23:54:50 2017 +0000
+++ b/net/nsd/Makefile Tue Aug 22 00:32:18 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.94 2017/08/21 23:25:23 ryoon Exp $
+# $NetBSD: Makefile,v 1.95 2017/08/22 00:32:18 ryoon Exp $
DISTNAME= nsd-4.1.17
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/
@@ -50,9 +50,8 @@
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
+# For reallocarray(3)
+CPPFLAGS+= -D_OPENBSD_SOURCE
.endif
RCD_SCRIPTS= nsd
Home |
Main Index |
Thread Index |
Old Index