summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2016-02-25 17:24:13 +0000
committerroy <roy@pkgsrc.org>2016-02-25 17:24:13 +0000
commit489e92477fccc83db6f56711d87448251a1ea7ad (patch)
treec44ff70575fdf9c912399a586616ed630a0fc387 /net
parentf79ab7b43329aab6c81b684f68823efa473cdb9e (diff)
downloadpkgsrc-489e92477fccc83db6f56711d87448251a1ea7ad.tar.gz
Use CPPFLAGS.NetBSD
Diffstat (limited to 'net')
-rw-r--r--net/unbound/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/unbound/Makefile b/net/unbound/Makefile
index 85b668d1f32..689207536c8 100644
--- a/net/unbound/Makefile
+++ b/net/unbound/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2016/02/25 16:55:14 roy Exp $
+# $NetBSD: Makefile,v 1.43 2016/02/25 17:24:13 roy Exp $
DISTNAME= unbound-1.5.7
PKGREVISION= 2
@@ -21,10 +21,10 @@ CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/unbound/unbound.pid
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
CONFIGURE_ARGS+= --enable-allsymbols
-# unbound uses some OpenBSD libc functions such as reallocarray(3)
-# the existing tests just look for the symbol in libc regardless
-# of any
-CPPFLAGS+= -D_OPENBSD_SOURCE
+# unbound uses some OpenBSD libc functions such as reallocarray(3).
+# The existing tests just look for the symbol in libc regardless
+# of anything in stdlib.h
+CPPFLAGS.NetBSD+= -D_OPENBSD_SOURCE
# Add the same logic as for ldns, so sha2/gost is configured automatically
CHECK_BUILTIN.openssl= yes