Though it was possible to configure our BIND to build even when

libpthread support isn't present, our maintainer felt it's an
overkill, so instead enforce the BIND dependency on libpthread.
This commit is contained in:
Ruslan Ermilov 2007-10-12 08:03:51 +00:00
parent ee837a95af
commit 64965b5788

View File

@ -396,7 +396,17 @@ MK_${var}:= no
#
# Force some options off if their dependencies are off.
# Order is somewhat important.
#
.if ${MK_LIBPTHREAD} == "no"
MK_LIBKSE:= no
MK_LIBTHR:= no
.endif
.if ${MK_LIBKSE} == "no" && ${MK_LIBTHR} == "no"
MK_BIND:= no
.endif
.if ${MK_BIND} == "no"
MK_BIND_DNSSEC:= no
MK_BIND_ETC:= no
@ -425,11 +435,6 @@ MK_KERBEROS:= no
MK_NCP:= no
.endif
.if ${MK_LIBPTHREAD} == "no"
MK_LIBKSE:= no
MK_LIBTHR:= no
.endif
.if ${MK_OPENSSL} == "no"
MK_OPENSSH:= no
MK_KERBEROS:= no