summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/ggate/Makefile7
-rw-r--r--usr.bin/Makefile6
2 files changed, 12 insertions, 1 deletions
diff --git a/sbin/ggate/Makefile b/sbin/ggate/Makefile
index 03ef1ba..4dd5141 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
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 7b5b5a9..651e897 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -262,8 +262,14 @@ _calendar= calendar
.if ${MK_OPENSSL} != "no"
_chkey= chkey
_newkey= newkey
+.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
+.if ${MK_LIBC_R} != "no"
_csup= csup
.endif
+.elif ${MK_LIBPTHREAD} != "no"
+_csup= csup
+.endif
+.endif
.if ${MK_HESIOD} != "no"
_hesinfo= hesinfo
OpenPOWER on IntegriCloud