summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bind/bind_9.18.20.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/bind/bind_9.18.20.bb')
-rw-r--r--meta/recipes-connectivity/bind/bind_9.18.20.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/bind/bind_9.18.20.bb b/meta/recipes-connectivity/bind/bind_9.18.20.bb
index 187685eef57..7b61682ceb5 100644
--- a/meta/recipes-connectivity/bind/bind_9.18.20.bb
+++ b/meta/recipes-connectivity/bind/bind_9.18.20.bb
@@ -33,14 +33,15 @@ CVE_STATUS[CVE-2019-6470] = "not-applicable-config: Issue only affects dhcpd wit
inherit autotools update-rc.d systemd useradd pkgconfig multilib_header update-alternatives
# PACKAGECONFIGs readline and libedit should NOT be set at same time
-PACKAGECONFIG ?= "readline"
+PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'krb5', 'gssapi', '', d)} readline"
+PACKAGECONFIG[gssapi] = "--with-gssapi=yes,--with-gssapi=no,krb5"
PACKAGECONFIG[httpstats] = "--with-libxml2=${STAGING_DIR_HOST}${prefix},--without-libxml2,libxml2"
PACKAGECONFIG[readline] = "--with-readline=readline,,readline"
PACKAGECONFIG[libedit] = "--with-readline=libedit,,libedit"
PACKAGECONFIG[dns-over-http] = "--enable-doh,--disable-doh,nghttp2"
EXTRA_OECONF = " --disable-auto-validation \
- --with-gssapi=no --with-lmdb=no --with-zlib \
+ --with-lmdb=no --with-zlib \
--sysconfdir=${sysconfdir}/bind \
--with-openssl=${STAGING_DIR_HOST}${prefix} \
"