From 99e6a5f203c4ceb4e8c54c73e5eab60c7a9eb9f5 Mon Sep 17 00:00:00 2001 From: roy Date: Thu, 25 Feb 2016 17:24:13 +0000 Subject: Use CPPFLAGS.NetBSD --- net/unbound/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'net/unbound') 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 -- cgit v1.2.3