From 0bc811877895ae521482c9854988590f4ab31687 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 21 Feb 2003 02:30:51 +0000 Subject: [PATCH] Some things don't build for PowerPC yet. List from: benno --- gnu/usr.bin/Makefile | 6 +++++- lib/Makefile | 6 +++++- usr.bin/Makefile | 9 +++++++-- usr.sbin/Makefile | 6 +++++- 4 files changed, 22 insertions(+), 5 deletions(-) diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile index 1f44d3156c19..d6ef1d9ea01b 100644 --- a/gnu/usr.bin/Makefile +++ b/gnu/usr.bin/Makefile @@ -1,7 +1,11 @@ # $FreeBSD$ +.if ${MACHINE_ARCH} != "powerpc" +_gperf=gperf +.endif + SUBDIR= bc binutils cc cpio dc dialog diff diff3 \ - gperf grep groff gzip man patch rcs sdiff send-pr sort tar texinfo + ${_gperf} grep groff gzip man patch rcs sdiff send-pr sort tar texinfo .if !defined(NO_CVS) SUBDIR+=cvs diff --git a/lib/Makefile b/lib/Makefile index 5964e8e24b61..689db59f4055 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -24,7 +24,7 @@ SUBDIR= ${_csu} libcom_err libcrypt libkvm msun libmd \ libncurses libradius librpcsvc libsbuf libtacplus libutil libypclnt \ ${_compat} libalias libatm ${_libbind} libbz2 libc ${_libc_r} \ - libcalendar libcam libcompat libdevinfo libdevstat libdisk \ + libcalendar libcam libcompat libdevinfo libdevstat ${_libdisk} \ libedit libexpat libfetch libform libftpio libgeom ${_libio} libipsec \ libipx libisc libmenu ${_libmilter} ${_libmp} ${_libncp} \ libnetgraph libopie libpam libpanel libpcap \ @@ -67,6 +67,10 @@ _libio= libio _compat= compat .endif +.if ${MACHINE_ARCH} != "powerpc" +_libdisk=libdisk +.endif + .if defined(RELEASEDIR) || \ (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \ defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4)) diff --git a/usr.bin/Makefile b/usr.bin/Makefile index a748e4cd0c36..0668c679300c 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -12,6 +12,11 @@ _xlint= xlint .endif +.if ${MACHINE_ARCH} != "powerpc" +_gprof= gprof +_truss= truss +.endif + SUBDIR= alias \ apply \ asa \ @@ -68,7 +73,7 @@ SUBDIR= alias \ gencat \ getconf \ getopt \ - gprof \ + ${_gprof} \ head \ hesinfo \ hexdump \ @@ -171,7 +176,7 @@ SUBDIR= alias \ tr \ true \ truncate \ - truss \ + ${_truss} \ tset \ tsort \ tty \ diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index b1f0d23ee830..cc3fe96807a7 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -1,6 +1,10 @@ # From: @(#)Makefile 5.20 (Berkeley) 6/12/93 # $FreeBSD$ +.if ${MACHINE_ARCH} != "powerpc" +_sysinstall=sysinstall +.endif + # XXX MISSING: mkproto SUBDIR= IPXrouted \ ac \ @@ -101,7 +105,7 @@ SUBDIR= IPXrouted \ sliplogin \ slstat \ spray \ - sysinstall \ + ${_sysinstall} \ syslogd \ tcpdchk \ tcpdmatch \