diff options
-rw-r--r-- | share/mk/bsd.own.mk | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 941950f..f61b53e 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -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 |