summaryrefslogtreecommitdiffstats
path: root/usr.sbin/Makefile
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2004-01-31 17:12:05 +0000
committerdeischen <deischen@FreeBSD.org>2004-01-31 17:12:05 +0000
commit1340a85b8e4e2a3c8b7f280826615e4708e94235 (patch)
tree5f2a51b6e832bdb95b54cadf1140da9d8cf6bc23 /usr.sbin/Makefile
parent7672c0089af45f08eec95cf22d0471eb9bc37250 (diff)
downloadFreeBSD-src-1340a85b8e4e2a3c8b7f280826615e4708e94235.zip
FreeBSD-src-1340a85b8e4e2a3c8b7f280826615e4708e94235.tar.gz
Add some logic so that pppctl isn't built if the correct threading library
is not present. Noticed by: ru
Diffstat (limited to 'usr.sbin/Makefile')
-rw-r--r--usr.sbin/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index 3962b4d..957297b 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
OpenPOWER on IntegriCloud