summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/dnssec-tools/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/dnssec-tools/Makefile b/security/dnssec-tools/Makefile
index 6796eb18a9b..2980f1daed8 100644
--- a/security/dnssec-tools/Makefile
+++ b/security/dnssec-tools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2011/08/19 12:16:33 obache Exp $
+# $NetBSD: Makefile,v 1.9 2011/12/22 16:33:03 joerg Exp $
#
DISTNAME= dnssec-tools-1.10
@@ -53,6 +53,10 @@ INSTALLATION_DIRS= ${EGDIR}
.include "options.mk"
+.if ${OPSYS} == "NetBSD" && exists(/usr/sbin/dnssec-keygen)
+CONFIGURE_ARGS+= BIND_DNSSEC_KEYGEN=/usr/sbin/dnssec-keygen
+.endif
+
post-install:
${INSTALL_DATA} ${WRKSRC}/validator/etc/dnsval.conf ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/validator/etc/resolv.conf ${DESTDIR}${EGDIR}