diff options
Diffstat (limited to 'net/dnsmasq/options.mk')
-rw-r--r-- | net/dnsmasq/options.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/net/dnsmasq/options.mk b/net/dnsmasq/options.mk index 02fad09dcc6..f27e1b4f395 100644 --- a/net/dnsmasq/options.mk +++ b/net/dnsmasq/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.4 2017/06/02 08:37:49 adam Exp $ +# $NetBSD: options.mk,v 1.5 2018/10/27 07:57:10 maya Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.dnsmasq -PKG_SUPPORTED_OPTIONS= dbus inet6 +PKG_SUPPORTED_OPTIONS= dbus inet6 dnssec PKG_SUGGESTED_OPTIONS= inet6 .include "../../mk/bsd.options.mk" @@ -20,3 +20,10 @@ PLIST.dbus= yes .if empty(PKG_OPTIONS:Minet6) CFLAGS+= -DNO_IPV6 .endif + +.if !empty(PKG_OPTIONS:Mdnssec) +USE_TOOLS+= pkg-config +CFLAGS+= -DHAVE_DNSSEC +.include "../../security/nettle/buildlink3.mk" +.include "../../devel/gmp/buildlink3.mk" +.endif |