From 82e90399643df4c19c1b52524571c3eaf413af56 Mon Sep 17 00:00:00 2001 From: Daniel Eischen Date: Sat, 31 Jan 2004 17:12:05 +0000 Subject: [PATCH] Add some logic so that pppctl isn't built if the correct threading library is not present. Noticed by: ru --- usr.sbin/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index 3962b4d4f6d..957297baadb 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -215,7 +215,11 @@ _ipsend= ipsend _iptest= iptest .endif -.if !defined(NOLIBC_R) && ${MACHINE_ARCH} != "powerpc" +.if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "sparc64" +.if !defined(NOLIBC_R) +_pppctl= pppctl +.endif +.elif !defined(NOLIBPTHREAD) && ${MACHINE_ARCH} != "powerpc" _pppctl= pppctl .endif