summaryrefslogtreecommitdiff
path: root/net/unbound
diff options
context:
space:
mode:
authorroy <roy>2016-02-25 17:24:13 +0000
committerroy <roy>2016-02-25 17:24:13 +0000
commit99e6a5f203c4ceb4e8c54c73e5eab60c7a9eb9f5 (patch)
treec44ff70575fdf9c912399a586616ed630a0fc387 /net/unbound
parent99ece75742597d2040824e14fc58c1b38adf3a28 (diff)
downloadpkgsrc-99e6a5f203c4ceb4e8c54c73e5eab60c7a9eb9f5.tar.gz
Use CPPFLAGS.NetBSD
Diffstat (limited to 'net/unbound')
-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