pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/nsd



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Tue Aug 22 00:32:18 UTC 2017

Modified Files:
        pkgsrc/net/nsd: Makefile

Log Message:
Define _OPENBSD_SOURCE to build sane binary on NetBSD suggested from joerg@.
Thank you.

* Bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 pkgsrc/net/nsd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/nsd/Makefile
diff -u pkgsrc/net/nsd/Makefile:1.94 pkgsrc/net/nsd/Makefile:1.95
--- pkgsrc/net/nsd/Makefile:1.94        Mon Aug 21 23:25:23 2017
+++ pkgsrc/net/nsd/Makefile     Tue Aug 22 00:32:18 2017
@@ -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-libevent=${BUILDL
 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