summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2007-10-12 08:03:51 +0000
committerru <ru@FreeBSD.org>2007-10-12 08:03:51 +0000
commit98dce11da2d126b4ce2a03071ac9ccab49f4db48 (patch)
tree45fed39cb9952e709f1709370b0d5c4de9fce33f /share
parent121da528e1a97f8ff75becf0c304e43cde9a6a2d (diff)
downloadFreeBSD-src-98dce11da2d126b4ce2a03071ac9ccab49f4db48.zip
FreeBSD-src-98dce11da2d126b4ce2a03071ac9ccab49f4db48.tar.gz
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.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.own.mk15
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
OpenPOWER on IntegriCloud