pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/nsd Remove _OPENBSD_SOURCE for NetBSD from Makefile



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56dc3f344af7
branches:  trunk
changeset: 336500:56dc3f344af7
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Jul 16 11:38:27 2019 +0000

description:
Remove _OPENBSD_SOURCE for NetBSD from Makefile

* Upstream includes _OPENBSD_SOURCE for NetBSD.
  Noticed by gdt@. Thank you.

diffstat:

 net/nsd/Makefile |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (21 lines):

diff -r 0cf90a307c2c -r 56dc3f344af7 net/nsd/Makefile
--- a/net/nsd/Makefile  Tue Jul 16 11:25:43 2019 +0000
+++ b/net/nsd/Makefile  Tue Jul 16 11:38:27 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.103 2019/07/05 07:53:10 bsiegert Exp $
+# $NetBSD: Makefile,v 1.104 2019/07/16 11:38:27 ryoon Exp $
 
 DISTNAME=      nsd-4.2.0
 CATEGORIES=    net
@@ -50,11 +50,6 @@
 CONFIGURE_ARGS+=--with-libevent=${BUILDLINK_PREFIX.libevent}
 CONFIGURE_ARGS+=--with-ssl=${BUILDLINK_PREFIX.openssl}
 
-.if ${OPSYS} == "NetBSD"
-# For reallocarray(3)
-CPPFLAGS+=     -D_OPENBSD_SOURCE
-.endif
-
 RCD_SCRIPTS=   nlnsd
 
 NSD_USER?=     nsd



Home | Main Index | Thread Index | Old Index