diff options
author | joerg <joerg@pkgsrc.org> | 2011-12-22 16:33:03 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-12-22 16:33:03 +0000 |
commit | 29078afcf5d05222c3f3049ffeb54c78fc473808 (patch) | |
tree | 26050d20f96a4ffc9b1f933d27ca256ca2ccbd15 /security | |
parent | aec88ae72c50d7734c2719eb146f428438754dbe (diff) | |
download | pkgsrc-29078afcf5d05222c3f3049ffeb54c78fc473808.tar.gz |
Unprivileged users don't have /usr/sbin in PATH on NetBSD, so deal
with it.
Diffstat (limited to 'security')
-rw-r--r-- | security/dnssec-tools/Makefile | 6 |
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} |