summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/Makefile6
-rw-r--r--lib/Makefile6
-rw-r--r--usr.bin/Makefile9
-rw-r--r--usr.sbin/Makefile6
4 files changed, 22 insertions, 5 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index 1f44d31..d6ef1d9 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 5964e8e..689db59 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 a748e4c..0668c67 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 b1f0d23..cc3fe96 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 \
OpenPOWER on IntegriCloud