Module Name: src
Committed By: ryoon
Date: Wed Feb 14 12:47:43 UTC 2018
Modified Files:
src/external/bsd/bind: Makefile.inc
Log Message:
Fix broken dig and host commands
OpenSSL 1.1 does not have GOST support, so restrict GOST support to 1.0.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/external/bsd/bind/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/bind/Makefile.inc
diff -u src/external/bsd/bind/Makefile.inc:1.28 src/external/bsd/bind/Makefile.inc:1.29
--- src/external/bsd/bind/Makefile.inc:1.28 Sun Feb 4 03:19:52 2018
+++ src/external/bsd/bind/Makefile.inc Wed Feb 14 12:47:43 2018
@@ -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
.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