summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorryoon <ryoon@NetBSD.org>2018-02-14 12:47:43 +0000
committerryoon <ryoon@NetBSD.org>2018-02-14 12:47:43 +0000
commite54ccffca79fb05488b3a43df4bd89a0a46d511d (patch)
tree9988a8cb483585e9d343bb56b965e3da24c6068b /external
parentdc6a0db309028d93ea69a0dbe971830decdf6ae5 (diff)
Fix broken dig and host commands
OpenSSL 1.1 does not have GOST support, so restrict GOST support to 1.0.
Diffstat (limited to 'external')
-rw-r--r--external/bsd/bind/Makefile.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/external/bsd/bind/Makefile.inc b/external/bsd/bind/Makefile.inc
index 326d0cd0b86..3f6da18b31a 100644
--- a/external/bsd/bind/Makefile.inc
+++ b/external/bsd/bind/Makefile.inc
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.28 2018/02/04 03:19:52 christos Exp $
+# $NetBSD: Makefile.inc,v 1.29 2018/02/14 12:47:43 ryoon Exp $
.if !defined(BIND9_MAKEFILE_INC)
BIND9_MAKEFILE_INC=yes
@@ -87,7 +87,10 @@ LIBDPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread
.endif
.if ${NAMED_USE_OPENSSL} == "yes"
-CPPFLAGS+=-DOPENSSL -DUSE_ISC_SPNEGO -DHAVE_OPENSSL_GOST
+CPPFLAGS+=-DOPENSSL -DUSE_ISC_SPNEGO
+.if ${HAVE_OPENSSL} == 10
+CPPFLAGS+=-DHAVE_OPENSSL_GOST
+.endif
.if ${MKKERBEROS} != "no"
CPPFLAGS+=-DGSSAPI
.endif