diff options
author | ryoon <ryoon@pkgsrc.org> | 2020-05-30 08:45:58 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2020-05-30 08:45:58 +0000 |
commit | 0801d776f7e07b6d64426ac2208e005d9658c9f4 (patch) | |
tree | 933954ac822b8c87a8bac1ca95eaabb66d998280 | |
parent | edcfdc1de865d842e07aed2dc249bc0f29fb487c (diff) | |
download | pkgsrc-0801d776f7e07b6d64426ac2208e005d9658c9f4.tar.gz |
nsd: Some library functions require _NETBSD_SOURCE on NetBSD
-rw-r--r-- | net/nsd/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/nsd/Makefile b/net/nsd/Makefile index cbfd24df660..fdd05da20e8 100644 --- a/net/nsd/Makefile +++ b/net/nsd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.111 2020/04/30 07:42:13 ryoon Exp $ +# $NetBSD: Makefile,v 1.112 2020/05/30 08:45:58 ryoon Exp $ DISTNAME= nsd-4.3.1 CATEGORIES= net @@ -22,8 +22,8 @@ USE_LANGUAGES= c c++ USE_LIBTOOL= yes .if ${OPSYS} == "NetBSD" -# For reallocarray(3) on NetBSD 9 -CPPFLAGS+= -D_OPENBSD_SOURCE +# Some _NETBSD_SOURCE definitions are required to build. +CPPFLAGS+= -D_NETBSD_SOURCE .endif GNU_CONFIGURE= yes |