We must check for "${MACHINE}" and not "${MACHINE_ARCH}" of course to

decide about port specific obsolete lists.
This commit is contained in:
tron 2005-03-25 20:15:20 +00:00
parent 3118a7b178
commit f1f5ecd1a9
1 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.309 2005/03/24 20:23:55 tron Exp $
# $NetBSD: Makefile,v 1.310 2005/03/25 20:15:20 tron Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@ -340,11 +340,11 @@ OBSOLETE.dir= ${.OBJDIR}/obsolete.dir
OBSOLETE.files= base comp etc games man misc text
.if ${MKX11} != "no"
OBSOLETE.files+= xbase xcomp xfont
.if ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "cats" || \
${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "macppc" || \
${MACHINE_ARCH} == "sgimips"
.if ${MACHINE} == "amd64" || \
${MACHINE} == "cats" || \
${MACHINE} == "i386" || \
${MACHINE} == "macppc" || \
${MACHINE} == "sgimips"
OBSOLETE.files+= xserver
.endif
.endif