summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ac/Makefile2
-rw-r--r--usr.sbin/amd/Makefile.inc2
-rw-r--r--usr.sbin/apm/Makefile2
-rw-r--r--usr.sbin/kldxref/Makefile4
-rw-r--r--usr.sbin/sade/Makefile2
-rw-r--r--usr.sbin/sysinstall/Makefile2
-rw-r--r--usr.sbin/tcpdump/tcpdump/Makefile2
7 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/ac/Makefile b/usr.sbin/ac/Makefile
index 46064fc..576dbb3 100644
--- a/usr.sbin/ac/Makefile
+++ b/usr.sbin/ac/Makefile
@@ -4,7 +4,7 @@ PROG= ac
MAN= ac.8
# Temporary, while tracking down problem wrt 64-bit time_t's on sparc64
-.if ${MACHINE_ARCH} == "sparc64"
+.if ${MACHINE_CPUARCH} == "sparc64"
CFLAGS+=-DDEBUG
.endif
diff --git a/usr.sbin/amd/Makefile.inc b/usr.sbin/amd/Makefile.inc
index 673edc1..1965ff9 100644
--- a/usr.sbin/amd/Makefile.inc
+++ b/usr.sbin/amd/Makefile.inc
@@ -27,7 +27,7 @@ CFLAGS+= -DHAVE_LOCALCONFIG_H
CFLAGS+= -DYES_HESIOD
.endif
-CFLAGS+= -DHOST_CPU=\"${MACHINE_ARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\"
+CFLAGS+= -DHOST_CPU=\"${MACHINE_CPUARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\"
.if exists(${.OBJDIR}/../libamu)
LIBAMUDIR= ${.OBJDIR}/../libamu
diff --git a/usr.sbin/apm/Makefile b/usr.sbin/apm/Makefile
index 08ed25f..3cc6f50 100644
--- a/usr.sbin/apm/Makefile
+++ b/usr.sbin/apm/Makefile
@@ -3,6 +3,6 @@
PROG= apm
MAN= apm.8
MLINKS= apm.8 apmconf.8
-MANSUBDIR= /${MACHINE_ARCH}
+MANSUBDIR= /${MACHINE_CPUARCH}
.include <bsd.prog.mk>
diff --git a/usr.sbin/kldxref/Makefile b/usr.sbin/kldxref/Makefile
index 2f15505..c877a8a 100644
--- a/usr.sbin/kldxref/Makefile
+++ b/usr.sbin/kldxref/Makefile
@@ -7,8 +7,8 @@ SRCS= kldxref.c ef.c ef_obj.c
WARNS?= 2
CFLAGS+=-fno-strict-aliasing
-.if exists(ef_${MACHINE_ARCH}.c)
-SRCS+= ef_${MACHINE_ARCH}.c
+.if exists(ef_${MACHINE_CPUARCH}.c)
+SRCS+= ef_${MACHINE_CPUARCH}.c
.else
SRCS+= ef_nop.c
.endif
diff --git a/usr.sbin/sade/Makefile b/usr.sbin/sade/Makefile
index bd94155..ad28489 100644
--- a/usr.sbin/sade/Makefile
+++ b/usr.sbin/sade/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.if ${MACHINE_ARCH} != "ia64"
+.if ${MACHINE_CPUARCH} != "ia64"
_wizard= wizard.c
.endif
diff --git a/usr.sbin/sysinstall/Makefile b/usr.sbin/sysinstall/Makefile
index c9a7c89..d18033a 100644
--- a/usr.sbin/sysinstall/Makefile
+++ b/usr.sbin/sysinstall/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.if ${MACHINE_ARCH} != "ia64"
+.if ${MACHINE_CPUARCH} != "ia64"
_wizard= wizard.c
.endif
diff --git a/usr.sbin/tcpdump/tcpdump/Makefile b/usr.sbin/tcpdump/tcpdump/Makefile
index 6f072b7..c296943 100644
--- a/usr.sbin/tcpdump/tcpdump/Makefile
+++ b/usr.sbin/tcpdump/tcpdump/Makefile
@@ -46,7 +46,7 @@ SRCS+= print-ip6.c print-ip6opts.c print-mobility.c print-ripng.c \
print-icmp6.c print-frag6.c print-rt6.c print-ospf6.c print-dhcp6.c
CFLAGS+= -DINET6
.endif
-.if ${MACHINE_ARCH} != "i386"
+.if ${MACHINE_CPUARCH} != "i386"
CFLAGS+= -DLBL_ALIGN
.endif
OpenPOWER on IntegriCloud