aboutsummaryrefslogtreecommitdiff
path: root/sbin/ggate
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-03-21 11:00:54 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-03-21 11:00:54 +0000
commita50767eb922febec15d168339a26d59d2734e9e3 (patch)
tree24e1e21974b5f9eb6c75e474e100d44ee84aaa6d /sbin/ggate
parentc60fab8c0338432426235c1b22f881602aba0b9d (diff)
downloadsrc-a50767eb922febec15d168339a26d59d2734e9e3.tar.gz
src-a50767eb922febec15d168339a26d59d2734e9e3.zip
Unbreak WITHOUT_LIBPHREAD/WITHOUT_LIBC_R option support, depending
on platform.
Notes
Notes: svn path=/head/; revision=156944
Diffstat (limited to 'sbin/ggate')
-rw-r--r--sbin/ggate/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/ggate/Makefile b/sbin/ggate/Makefile
index 03ef1ba594ef..4dd51410ad52 100644
--- a/sbin/ggate/Makefile
+++ b/sbin/ggate/Makefile
@@ -6,7 +6,12 @@ SUBDIR= ${_ggatec} \
${_ggated} \
ggatel
-.if ${MK_LIBPTHREAD} != "no"
+.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
+.if ${MK_LIBC_R} != "no"
+_ggatec= ggatec
+_ggated= ggated
+.endif
+.elif ${MK_LIBPTHREAD} != "no"
_ggatec= ggatec
_ggated= ggated
.endif