aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/ggate
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-11-26 14:36:34 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-11-26 14:36:34 +0000
commit8af480aec12a6474428b9221825e7e2b2506f364 (patch)
tree41cff96be947a8a6e2ac9aff5183efb8a82d6d3b /sbin/ggate
parent886e53ca9a98d8605a5813e2fa45e2da34afe333 (diff)
downloadsrc-8af480aec12a6474428b9221825e7e2b2506f364.tar.gz
src-8af480aec12a6474428b9221825e7e2b2506f364.zip
- When building world WITHOUT_LIBPTHREAD, link libthr to libpthread.
- Don't build ngctl(8) and cached(8) if threading libs aren't built. - Fix various issues in a cached(8) makefile.
Notes
Notes: svn path=/head/; revision=164616
Diffstat (limited to 'sbin/ggate')
-rw-r--r--sbin/ggate/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/sbin/ggate/Makefile b/sbin/ggate/Makefile
index 73a8016300d3..989589fee48d 100644
--- a/sbin/ggate/Makefile
+++ b/sbin/ggate/Makefile
@@ -6,12 +6,8 @@ SUBDIR= ${_ggatec} \
${_ggated} \
ggatel
-.if ${MACHINE_ARCH} == "sparc64"
-.if ${MK_LIBTHR} != "no"
-_ggatec= ggatec
-_ggated= ggated
-.endif
-.elif ${MK_LIBPTHREAD} != "no"
+.if ${MK_LIBTHR} != "no" || \
+ (${MACHINE_ARCH} != "sparc64" && ${MK_LIBPTHREAD} != "no")
_ggatec= ggatec
_ggated= ggated
.endif